/* ============================================================
   ClassIn at EDUtech Asia 2026: the website as a presentation (edutech.html, built by tools/build-edutech.py).
   One slide at a time between a slim top bar (the chapters) and a control bar (the event, progress, Back, the slide
   count and a large Next). Like a slide, each one is laid out once on a 1440 x 758 frame that src/edutech.js scales to
   the screen (--k), so a laptop, the booth TV and a 4K screen show the same composition; on a large screen the two
   bars grow with it (--kb). A slide cross-fades in place, then its own parts arrive. The opening, the three layers
   and the lesson films are the website's own blocks (school-v2.css), fitted to the frame. Without .ed-deck-on (a
   phone or a short window) the frames dissolve and the slides stack as a page.
   ============================================================ */
.ci-en-page.ed { --ed-top: 64px; --ed-ctl: 78px; --ed-tint: #F3F8F5; background: #fff; }

/* ---------------------------------------------------------------- the top bar: the chapters */
.ed-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; height: var(--ed-top);
          padding: 0 max(24px, calc(3vw / var(--zoom, 1))); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(28,31,37,.08); }
.ed-top__logo { display: flex; padding: 0; border: 0; background: none; cursor: pointer; }
.ed-top__logo img { width: 104px; height: auto; }
.ed-top__nav { display: flex; gap: 4px; margin-left: auto; }
.ed-top__nav button { height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: none; cursor: pointer;
                      font: 600 15px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; color: var(--ci-ink-70); transition: background-color .2s, color .2s; }
.ed-top__nav button:hover { color: var(--ci-ink); background: rgba(28,31,37,.05); }
.ed-top__nav button[aria-current] { color: #00734F; background: #EBFBF1; }
.ed-top__nav button:focus-visible, .ed-top__logo:focus-visible, .ed-ctl button:focus-visible, .ed-case:focus-visible { outline: 2px solid #00734F; outline-offset: 3px; }
.ed-top__cta { margin-left: 8px; }
.ed-top__nav button { white-space: nowrap; }
@media (max-width: 1239px) {      /* an iPad: six chapter names in one row; the visit button is on the last slides */
  .ed-top__nav button { padding: 0 11px; }
  .ed-top__cta { display: none; }
}

/* ---------------------------------------------------------------- the control bar */
.ed-ctl { display: none; }
.ci-en-page.ed-deck-on .ed-ctl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
                          height: var(--ed-ctl); padding: 0 max(24px, calc(3vw / var(--zoom, 1))); background: #fff; border-top: 1px solid rgba(28,31,37,.08); }
.ed-ctl__event { margin: 0; font-size: 15px; font-weight: 700; color: var(--ci-ink-70); white-space: nowrap; }
.ed-ctl__bar { flex: 1; max-width: 440px; height: 4px; margin: 0 auto; border-radius: 2px; background: rgba(28,31,37,.08); overflow: hidden; }
.ed-ctl__bar span { display: block; height: 100%; background: #00AA76; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ed-ctl__btns { display: flex; align-items: center; gap: 12px; }
.ed-prev { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(28,31,37,.06); cursor: pointer; transition: background-color .2s; }
.ed-prev:hover:not(:disabled) { background: rgba(28,31,37,.1); }
.ed-prev svg { width: 18px; height: 18px; rotate: 180deg; stroke: var(--ci-ink); fill: none; }
.ed-ctl__n { min-width: 70px; margin: 0; text-align: center; font-size: 15px; font-weight: 700; color: var(--ci-ink-70); font-variant-numeric: tabular-nums; }
.ed-next { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 28px; border: 0; border-radius: 26px;
           background: #00734F; color: #fff; cursor: pointer; font: 700 18px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; transition: background-color .2s; }
.ed-next:hover:not(:disabled) { background: #005C3F; }
.ed-next svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
.ed-prev:disabled, .ed-next:disabled { opacity: .35; cursor: default; }
.ed-set-btn, .ed-full { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(28,31,37,.06); cursor: pointer; transition: background-color .2s; }
.ed-set-btn:hover, .ed-full:hover { background: rgba(28,31,37,.1); }
.ed-set-btn svg, .ed-full svg { width: 20px; height: 20px; fill: none; stroke: var(--ci-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* presenting full screen: no top bar, the slides take the whole height; the exit is a double tap in the top right */
.ci-en-page.ed-present .ed-top, .ci-en-page.ed-present .ed-full, .ci-en-page.ed-present .ed-set-btn { display: none; }
.ci-en-page.ed-deck-on.ed-present .ed-deck { top: 0; }
.ed-exit { display: none; }
.ci-en-page.ed-present .ed-exit { position: fixed; top: 0; right: 0; z-index: 60; display: block; width: 120px; height: 120px; }
.ed-toast { position: fixed; top: 22px; left: 50%; z-index: 70; margin: 0; padding: 12px 22px; border-radius: 999px; transform: translateX(-50%);
            background: rgba(28,31,37,.88); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.ed-toast.is-on { opacity: 1; }

/* ---------------------------------------------------------------- the deck: one slide at a time, each a scaled frame */
.ci-en-page.ed-deck-on { overflow: hidden; }
.ci-en-page.ed-deck-on .ed-top { position: fixed; left: 0; right: 0; }
.ci-en-page.ed-deck-on .ed-top, .ci-en-page.ed-deck-on .ed-ctl { zoom: var(--kb, 1); }
.ci-en-page.ed-deck-on .ed-deck { position: fixed; left: 0; right: 0; top: calc(var(--ed-top) * var(--kb, 1)); bottom: calc(var(--ed-ctl) * var(--kb, 1)); }
.ci-en-page.ed-deck-on .ed-slide { position: absolute; inset: 0; display: none; overflow: hidden; background: #fff; }
.ci-en-page.ed-deck-on .ed-slide.is-on, .ci-en-page.ed-deck-on .ed-slide.is-out { display: block; }
.ci-en-page.ed-deck-on .ed-slide.is-on { z-index: 2; animation: ed-in .5s ease both; }
.ci-en-page.ed-deck-on .ed-slide.is-out { z-index: 1; animation: ed-out .4s ease both; }
@keyframes ed-in { from { opacity: 0; } }
@keyframes ed-out { to { opacity: 0; } }
.ci-en-page.ed-deck-on .ed-slide[data-slide="cases"] { background: var(--ed-tint); }
.ci-en-page.ed-deck-on .ed-frame { position: absolute; left: 50%; top: 50%; display: grid; align-items: center; width: 1440px; height: 758px;
                            transform: translate(-50%, -50%) scale(var(--k, 1)); transform-origin: 50% 50%; }
.ci-en-page.ed:not(.ed-deck-on) .ed-frame { display: contents; }

/* the website's blocks, fitted to the frame (fixed sizes: the frame is scaled as a whole) */
.ci-en-page.ed-deck-on .ed-frame .bl-w { width: 1290px; max-width: none; margin-inline: auto; }
.ci-en-page.ed-deck-on .ed-frame .bl-h2 { font-size: 60px; }
.ci-en-page.ed-deck-on .ed-frame .bl-lead { font-size: 21px; }
.ci-en-page.ed-deck-on .ed-frame .sv-hero { min-height: 0; height: 758px; padding: 0; }
.ci-en-page.ed-deck-on .ed-frame .sv-hero .bl-h1 { font-size: 72px; }
.ci-en-page.ed-deck-on .ed-frame .sv-hero .bl-lead { font-size: 21px; }
.ci-en-page.ed-deck-on .ed-frame .sv-hero__stage { max-width: 720px; }
.ci-en-page.ed-deck-on .ed-frame > .bl-sec { width: 100%; padding: 0; background: none; }
.ci-en-page.ed-deck-on .ed-frame .sv-venn__track { height: auto; }
.ci-en-page.ed-deck-on .ed-frame .sv-venn__stage { position: static; height: auto; padding: 0; }
.ci-en-page.ed-deck-on .ed-frame .sv-venn__fig { --D: 412px; }
.ci-en-page.ed-deck-on .ed-frame .sv-venn__links { display: none; }   /* links to other pages would take the presenter off the deck */
.ci-en-page.ed-deck-on .ed-frame .sv-venn__sub { font-size: 21px; }
.ci-en-page.ed-deck-on .ed-frame .bl-sec--highlights .bl-head { margin-bottom: 18px; }
.ci-en-page.ed-deck-on .ed-frame .bl-sec--highlights .bl-h2 { font-size: 52px; }
.ci-en-page.ed-deck-on .ed-frame .bl-hl { width: 720px; margin-inline: auto; }
.ci-en-page.ed-deck-on .ed-frame .bl-hl__step { display: none; }   /* one Next for the presenter: the deck's */   /* the film, its tabs and its caption fit the frame */

/* ---------------------------------------------------------------- the live demo: the film as large as the slide
   The film takes the frame's full height (1312 x 738, 10 px clear of each bar) on a dark slide; the four moments' tabs
   and the film's own pause and sound sit on it. The heading and the captions go: the presenter talks over it. */
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] { background: #0C1712; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-head, .ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__caps { display: none; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-w { width: 1312px; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl { position: relative; width: 1312px; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__card, .ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__track { border-radius: 22px; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__tabs { position: absolute; left: 24px; top: 24px; z-index: 4; translate: none; margin: 0; padding: 5px;
  border-radius: 28px; background: rgba(8,18,14,.66); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__tab { height: 48px; padding: 0 20px 0 9px; font-size: 18px; color: rgba(255,255,255,.88); }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__tab i { width: 30px; height: 30px; background: rgba(255,255,255,.16); color: #fff; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__tab[aria-selected="true"] { color: var(--ci-ink); }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__tab[aria-selected="true"] i { background: #00734F; }
.ci-en-page.ed-deck-on .ed-slide[data-slide="lesson"] .bl-hl__foot { position: absolute; right: 24px; bottom: 24px; z-index: 4; margin: 0; padding: 6px;
  border-radius: 32px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }

/* each moment opens still under its title card; the next Next plays the film and the card fades away */
.ed-intro { display: none; }
.ci-en-page.ed-deck-on .ed-intro { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; text-align: center;
  border-radius: 22px; background: rgba(6,18,13,.72); transition: opacity .5s ease, visibility 0s linear 0s; }
.ci-en-page.ed-deck-on .bl-hl__card video { transition: filter .5s ease, transform .5s ease; }
.ci-en-page.ed-deck-on .bl-hl:has(.ed-intro:not(.is-off)) .bl-hl__card video { filter: blur(10px); transform: scale(1.06); }   /* scaled: no soft edge */
.ci-en-page.ed-deck-on .bl-hl:has(.ed-intro:not(.is-off)) .bl-hl__foot { opacity: 0; visibility: hidden; }   /* one play button at a time */
.ci-en-page.ed-deck-on .ed-intro.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s ease, visibility 0s linear .5s; }
.ed-intro__m[hidden] { display: none; }
.ed-intro__k { margin: 0; font-size: 24px; font-weight: 700; color: #00C285; }
.ed-intro__t { margin: 12px 0 0; font-size: 88px; line-height: 1.02; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.ed-intro__l { max-width: 24ch; margin: 18px auto 0; font-size: 32px; line-height: 1.3; color: rgba(255,255,255,.92); text-wrap: balance; }
.ed-intro__play { display: grid; place-items: center; width: 96px; height: 96px; margin-top: 40px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: #00734F; cursor: pointer; box-shadow: 0 14px 34px -14px rgba(0,0,0,.6); transition: background-color .25s ease, color .25s ease; }
.ed-intro__play svg { width: 40px; height: 40px; margin-left: 5px; fill: currentColor; stroke: none; }
.ed-intro__play:hover { background: #00734F; color: #fff; }
.ed-intro__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .ci-en-page.ed-deck-on .ed-intro, .ci-en-page.ed-deck-on .ed-intro.is-off { transition: none; } }

/* ---------------------------------------------------------------- the opening: the EDUtech scene
   The class film fills the slide (behind the frame); dark where the words sit, opening up to the right. */
.ed-slide--open { position: relative; overflow: hidden; background: #10241B; color: #fff; }
.ci-en-page.ed:not(.ed-deck-on) .ed-slide--open { min-height: calc(86svh / var(--zoom, 1)); display: grid; align-items: center; }
.ed-open__film { position: absolute; inset: 0; }
.ed-open__film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-open__shade { position: absolute; inset: 0; pointer-events: none;
                  background: linear-gradient(90deg, rgba(6,24,17,.9) 0%, rgba(6,24,17,.7) 42%, rgba(6,24,17,.2) 100%),
                              linear-gradient(0deg, rgba(6,24,17,.45) 0%, rgba(6,24,17,0) 45%); }
.ed-open__film .bl-pause { right: 28px; bottom: 26px; background: rgba(255,255,255,.88); }
.ed-slide--open .ed-frame { z-index: 1; pointer-events: none; }        /* the pause button on the film stays reachable */
.ed-slide--open .ed-frame > * { pointer-events: auto; }
.ci-en-page.ed:not(.ed-deck-on) .ed-slide--open .ed-open { position: relative; z-index: 1; }
.ed-open { color: #fff; }
.ed-open__event { display: flex; align-items: center; gap: 16px; margin: 0; }
.ed-open__event img { display: block; width: auto; height: 46px; }        /* the organiser's own logo, white and pink */
.ed-open__event b { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: .01em; color: #fff; transform: translateY(2px); }
.ci-en-page.ed .ed-open .bl-h1 { max-width: 900px; margin: 28px 0 0; font-size: 92px; line-height: 1.02; color: #fff; text-wrap: balance; }
.ci-en-page.ed .ed-open .bl-h1 mark { display: block; color: #00C285; }
.ci-en-page.ed .ed-open .bl-lead { max-width: 34ch; margin: 24px 0 0; font-size: 24px; line-height: 1.4; text-align: left; color: rgba(255,255,255,.88); }
.ed-open__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin: 44px 0 0; padding: 0; list-style: none; }
.ed-open__facts li { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; }
.ed-open__facts svg { flex: none; width: 24px; height: 24px; fill: none; stroke: #00C285; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-open__booth { padding: 12px 22px; border-radius: 999px; background: #00AA76; color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .ci-en-page.ed-deck-on .ed-slide--open.is-on .ed-open > * { animation: ed-rise .8s cubic-bezier(.16,1,.3,1) both; }
  .ci-en-page.ed-deck-on .ed-slide--open.is-on .ed-open .bl-h1 { animation-delay: .12s; }
  .ci-en-page.ed-deck-on .ed-slide--open.is-on .ed-open .bl-lead { animation-delay: .26s; }
  .ci-en-page.ed-deck-on .ed-slide--open.is-on .ed-open__facts { animation-delay: .4s; }
}
.ed-thanks__booth { margin: 18px 0 0; padding: 8px 18px; border-radius: 999px; background: #EBFBF1; color: #00734F; font-size: 16px; font-weight: 700; }
@media (max-width: 899px) {
  .ci-en-page.ed .ed-open .bl-h1 { font-size: 48px; }
  .ci-en-page.ed .ed-open .bl-lead { font-size: 19px; }
  .ed-open__facts { margin-top: 28px; gap: 12px 20px; }
  .ed-open__facts li { font-size: 17px; }
}
.ed button.ci-btn--text { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }   /* a jump to a slide, styled as the website's text link */

/* ---------------------------------------------------------------- awards and recognition: two cards side by side */
.ed-awards { text-align: center; }
.ed-awards__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; text-align: left; }
.ed-award { display: grid; align-content: start; padding: 40px 44px 44px; border-radius: 28px; background: #F3F8F5; box-shadow: inset 0 0 0 1px rgba(0,115,79,.1); }
.ed-award.is-gold { background: #FBF6E9; box-shadow: inset 0 0 0 1px rgba(176,122,18,.18); }
.ed-award__logo { display: flex; align-items: center; justify-content: center; height: 124px; width: fit-content; padding: 14px 22px; border-radius: 20px; background: #fff;
                  box-shadow: 0 1px 2px rgba(28,31,37,.06); }
.ed-award__logo img { display: block; width: auto; }
.ed-award__logo.is-square img { height: 96px; }
.ed-award__logo.is-wide img { height: 58px; }
.ed-award__when { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; }
.ed-award__when b { font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #00734F; font-variant-numeric: tabular-nums; }
.ed-award.is-gold .ed-award__when b { color: #8A5A08; }
.ed-award__when span { padding: 7px 16px; border-radius: 999px; background: #00734F; color: #fff; font-size: 17px; font-weight: 700; }
.ed-award.is-gold .ed-award__when span { background: #A86F0C; }
.ed-award__t { margin: 20px 0 0; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--ci-ink); text-wrap: balance; }
.ed-award__by { margin: 8px 0 0; font-size: 19px; font-weight: 600; color: var(--ci-ink-70); }
.ed-award__line { margin: 18px 0 0; font-size: 21px; line-height: 1.45; color: var(--ci-ink); text-wrap: pretty; }
@media (prefers-reduced-motion: no-preference) {
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-award { animation: ed-rise .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.15s + var(--i) * 120ms); }
}
@media (max-width: 899px) {
  .ed-awards__list { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 28px; }
  .ed-award { padding: 28px 26px 30px; }
  .ed-award__when b { font-size: 48px; }
  .ed-award__t { font-size: 26px; }
  .ed-award__line { font-size: 18px; }
}

/* ---------------------------------------------------------------- who we work with */
.ed-comm { text-align: center; }
.ed-comm__stats { display: flex; justify-content: center; gap: 120px; margin-top: 34px; }
.ed-comm__stats p { display: grid; justify-items: center; margin: 0; }
.ed-comm__stats b { font-size: 88px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #00734F; font-variant-numeric: tabular-nums; }
.ed-comm__stats span { margin-top: 10px; font-size: 20px; color: var(--ci-ink-70); }
.ed-comm__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 64px;
                  max-width: 1180px; margin: 58px auto 0; padding: 0; list-style: none; }
.ed-comm__logos img { display: block; width: auto; height: var(--h); }

/* ---------------------------------------------------------------- case studies: the overview */
.ed-cases .bl-head { margin-bottom: 40px; text-align: center; }
.ed-cases__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.ed-case { display: grid; align-content: start; width: 100%; height: 100%; padding: 0 0 24px; border: 0; border-radius: 24px; overflow: hidden; background: #fff;
           text-align: left; cursor: pointer; font: inherit; color: inherit;
           box-shadow: 0 1px 2px rgba(28,31,37,.06), 0 18px 40px -24px rgba(28,31,37,.28); transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }
@media (hover: hover) { .ed-case:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(28,31,37,.06), 0 28px 50px -24px rgba(28,31,37,.32); } }
.ed-case__pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #DDE7E2; }
.ed-case__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-case__tag { margin: 18px 22px 0; font-size: 14px; line-height: 1.3; font-weight: 700; color: #00734F; }
.ed-case__t { margin: 6px 22px 0; font-size: 23px; line-height: 1.2; font-weight: 700; color: var(--ci-ink); text-wrap: balance; }
.ed-case__h { margin: 8px 22px 0; font-size: 16px; line-height: 1.4; color: var(--ci-ink-70); text-wrap: pretty; }

.ed-nw { white-space: nowrap; }   /* a hyphenated word kept on one line */

/* ---------------------------------------------------------------- one case study */
.ed-story { display: grid; grid-template-columns: 620px minmax(0, 1fr); gap: 60px; align-items: center; }
.ed-story__pic { position: relative; margin: 0; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: #DDE7E2;
                 box-shadow: 0 1px 2px rgba(28,31,37,.06), 0 24px 50px -28px rgba(28,31,37,.35); max-height: 700px; }
.ed-story__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ed-story__pic figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92);
                            font-size: 14px; font-weight: 700; color: var(--ci-ink); }
.ed-story__tag { margin: 0; font-size: 16px; font-weight: 700; color: #00734F; }
.ed-story__who { margin: 6px 0 0; font-size: 21px; font-weight: 700; color: var(--ci-ink); }
.ed-story__who span { font-weight: 500; color: var(--ci-ink-70); }
.ed-story__who span::before { content: "\00b7"; margin: 0 8px; }
.ed-story__t { margin: 14px 0 0; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.ed-story__rows { display: grid; gap: 22px; margin: 28px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(28,31,37,.1); }
.ed-story__rows dt { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: #00734F; }
.ed-story__rows dd { margin: 8px 0 0 56px; font-size: 21px; line-height: 1.4; color: var(--ci-ink); text-wrap: pretty; }
.ed-story__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #EBFBF1; color: #00734F; }
.ed-story__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- hardware: a ClassIn room, then the devices
   The Hardware page's own picture and pins, wide; a pin opens its device on the next slide. The picture is cropped to
   2.3 : 1, so the pins are moved by the share cut off top and bottom (--cy), as on the Hardware page. */
.ci-en-page.ed-deck-on .ed-frame .ed-room { width: 1400px; }
.ed-room__pic { position: relative; height: 738px; margin: 0; border-radius: 26px; overflow: hidden; background: #E9ECEA;
                box-shadow: 0 1px 2px rgba(28,31,37,.06), 0 24px 50px -28px rgba(28,31,37,.35); }
.ed-room__pic > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-room .bl-pins { --cy: .0314; }      /* (1 - (16/9) / (1400/738)) / 2 */
.ed-room__title { position: absolute; left: 28px; top: 28px; z-index: 2; margin: 0; padding: 14px 24px 16px; border-radius: 18px; background: rgba(255,255,255,.94);
                  font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--ci-ink); box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); }
.ed-room__title mark { background: none; color: #00734F; }
.ed-room .bl-pin { top: calc((var(--y) - var(--cy)) / (1 - 2 * var(--cy)) * 100%); padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.ed-room .bl-pin__t { padding: 7px 14px; background: rgba(255,255,255,.94); color: var(--ci-ink); font-size: 16px; box-shadow: 0 6px 18px -8px rgba(0,0,0,.35); }
.ed-room button.bl-pin:hover .bl-pin__t, .ed-room button.bl-pin:focus-visible .bl-pin__t { background: #00734F; color: #fff; }
.ed-room button.bl-pin:focus-visible { outline: none; }
.ed-room span.bl-pin { cursor: default; }
.ed-room .bl-pins__note { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); padding: 6px 14px; font-size: 14px; white-space: nowrap; }

/* the devices: the tabs name all four; Next shows each in turn, cross-faded in place */
.ed-devs__head .bl-h2, .ci-en-page.ed-deck-on .ed-frame .ed-devs__head .bl-h2 { margin: 0; font-size: 46px; }
.ed-devs__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.ed-dev__tab { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 8px; border: 0; border-radius: 999px;
               background: #F1F4F2; color: var(--ci-ink); font: 600 17px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; cursor: pointer;
               transition: background-color .3s ease, color .3s ease; }
.ed-dev__tab i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; font-style: normal; font-size: 14px; font-weight: 700; color: #00734F; }
.ed-dev__tab[aria-selected="true"] { background: #00734F; color: #fff; }
.ed-dev__tab:focus-visible { outline: 2px solid #00734F; outline-offset: 2px; }
.ed-devs__panels { display: grid; }
.ed-dev { grid-area: 1 / 1; display: grid; grid-template-columns: 860px minmax(0, 1fr); gap: 60px; align-items: center;
          opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.ed-dev.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.ed-dev__pic { margin: 0; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: #F3F5F4; }
.ed-dev__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-dev__t { margin: 0; font-size: 46px; line-height: 1.05; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.ed-dev__figs { display: grid; gap: 22px; margin: 26px 0 0; padding: 26px 0 0;
                border-top: 1px solid rgba(28,31,37,.1); list-style: none; }
.ed-dev__figs b { display: block; font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -.01em; color: #00734F; white-space: nowrap; }
.ed-dev__figs b.is-word { font-size: 32px; white-space: normal; }
.ed-dev__figs span { display: block; margin-top: 4px; font-size: 18px; line-height: 1.35; color: var(--ci-ink-70); }
.ed-dev__awards { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.ed-dev__award { display: inline-flex; align-items: center; margin: 0; padding: 6px 16px 6px 6px; border-radius: 999px; background: #EBFBF1; color: #00734F; font-size: 16px; font-weight: 700; }
.ed-dev__award:not(:has(img)) { padding-left: 16px; }   /* an award without a logo */
.ed-dev__award .bl-award-if { width: 34px; height: 34px; margin-right: 10px; vertical-align: 0; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .ed-dev, .ed-dev.is-on { transition: none; } }

/* ---------------------------------------------------------------- visit, and thank you */
.ed-visit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: center; }
.ed-visit .bl-lead { margin: 16px 0 0; text-align: left; }
.ed-visit__rooms { display: grid; gap: 16px; margin: 32px 0 36px; padding: 0; list-style: none; }
.ed-visit__rooms li { display: flex; align-items: flex-start; gap: 14px; font-size: 22px; }
.ed-visit__rooms svg { flex: none; width: 24px; height: 24px; margin-top: 3px; color: #00AA76; }
.ed-visit__rooms b { font-weight: 700; }
.ed-visit__rooms small { display: block; margin-top: 3px; font-size: .82em; color: var(--ci-ink-70); }   /* the address, under the room */
.ed-qr { display: grid; justify-items: center; gap: 14px; margin: 0; padding: 30px 30px 22px; border-radius: 28px; background: #fff;
         box-shadow: 0 0 0 1px rgba(28,31,37,.06), 0 24px 50px -28px rgba(28,31,37,.35); }
.ed-qr__code { display: block; width: 360px; height: auto; }
.ed-qr figcaption { font-size: 22px; font-weight: 700; color: var(--ci-ink); }
.ed-thanks { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 32px; align-items: center; }
.ed-thanks__b { display: grid; justify-items: start; }
.ed-thanks__logo { width: 150px; height: auto; margin-bottom: 26px; }
.ed-thanks .bl-h2 { margin: 0; text-wrap: balance; }
.ed-thanks .bl-lead, .ci-en-page.ed-deck-on .ed-frame .ed-thanks .bl-lead { margin: 20px 0 0; font-size: 30px; line-height: 1.3; text-align: left; color: var(--ci-ink); }
.ed-thanks__small { margin: 10px 0 0; font-size: 15px; color: var(--ci-ink-70); }
.ed-thanks__end { display: flex; align-items: flex-start; gap: 32px; margin-top: 32px; }
.ed-thanks__end .ed-thanks__booth { margin: 0; }
.ed-qr--small { padding: 18px 18px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px #E5E7EB; }
.ed-qr--small .ed-qr__code { width: 160px; }
.ed-thanks__gift { margin: 0; }
.ed-thanks__gift img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- the parts of a slide arrive once it is on */
@media (prefers-reduced-motion: no-preference) {
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-comm__logos li { animation: ed-rise .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.3s + var(--i) * 55ms); }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-comm__stats p { animation: ed-rise .7s cubic-bezier(.16,1,.3,1) both; animation-delay: .12s; }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-cases__grid li { animation: ed-rise .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.15s + var(--i) * 80ms); }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-story__pic { animation: ed-pic .9s cubic-bezier(.16,1,.3,1) both; }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-story__b > * { animation: ed-rise .7s cubic-bezier(.16,1,.3,1) both; animation-delay: .15s; }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-story__rows > div { animation: ed-rise .6s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.3s + var(--i) * 90ms); }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-qr { animation: ed-rise .7s cubic-bezier(.16,1,.3,1) both; animation-delay: .25s; }
  .ci-en-page.ed-deck-on .ed-slide.is-on .ed-room__pic, .ci-en-page.ed-deck-on .ed-slide.is-on .ed-thanks__gift { animation: ed-rise .8s cubic-bezier(.16,1,.3,1) both; animation-delay: .12s; }
}
@keyframes ed-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes ed-pic { from { opacity: 0; transform: translateX(-20px) scale(.985); } }

/* ---------------------------------------------------------------- no deck: the slides stack as a page */
.ci-en-page.ed:not(.ed-deck-on) .ed-slide { padding: 56px 0; }
.ci-en-page.ed:not(.ed-deck-on) .ed-slide + .ed-slide { border-top: 1px solid rgba(28,31,37,.08); }
@media (max-width: 899px) {
  .ed-top__nav { display: none; }
  .ed-top__cta { margin-left: auto; }
  .ed-cases__grid { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-story, .ed-visit, .ed-thanks, .ed-dev { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ed-story__rows dd { margin-left: 0; font-size: 18px; }
  .ed-story__pic { aspect-ratio: 4 / 3; }
  .ed-room__pic { height: auto; aspect-ratio: 16 / 9; }
  .ed-room .bl-pins { --cy: 0; }
  .ed-dev__t { font-size: 32px; }
  .ed-dev__figs b { font-size: 26px; white-space: normal; }
  .ed-comm__stats { gap: 48px; }
  .ed-comm__stats b { font-size: 56px; }
  .ed-story__t { font-size: 32px; }
  .ed-comm__logos { gap: 22px 36px; margin-top: 36px; }
  .ed-qr__code { width: 180px; }
}
@media (max-width: 560px) {
  .ed-cases__grid { grid-template-columns: minmax(0, 1fr); }
  .ed-comm__stats { gap: 28px; }
  .ed-comm__stats b { font-size: 44px; }
}

/* ---------------------------------------------------------------- the opening: the next live demo
   Where the venue and dates were (visitors know where they are): its heading, time and topic, set in the deck's
   settings (src/edutech.js). */
.ed-session { display: grid; justify-items: start; gap: 10px; width: fit-content; max-width: 860px; margin-top: 40px; padding: 26px 34px 28px; border-radius: 24px;
           background: rgba(6,24,17,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ed-session__k { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; color: #00C285; }
.ed-session__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #00C285; }
.ed-session__time { margin: 2px 0 0; font-size: 56px; line-height: 1.05; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.ed-session__topic { max-width: 30ch; margin: 0; font-size: 30px; line-height: 1.3; font-weight: 600; color: rgba(255,255,255,.94); text-wrap: balance; }
@media (prefers-reduced-motion: no-preference) {
  .ci-en-page.ed-deck-on .ed-slide--open.is-on .ed-session { animation: ed-rise .8s cubic-bezier(.16,1,.3,1) both; animation-delay: .4s; }
}
@media (max-width: 899px) {
  .ed-session { margin-top: 28px; padding: 18px 22px 20px; }
  .ed-session__k { font-size: 22px; }
  .ed-session__time { font-size: 38px; }
  .ed-session__topic { font-size: 21px; }
  .ed-open__event img { height: 32px; }
  .ed-open__event b { font-size: 28px; }
}

/* ---------------------------------------------------------------- settings: the next live demo (the button in the bottom bar) */
.ed-set { width: min(820px, calc(100vw / var(--zoom, 1)) - 32px); max-height: none; padding: 26px 28px 22px; zoom: var(--kb, 1); border: 0; border-radius: 20px; background: #fff; color: var(--ci-ink);
          box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); }
.ed-set::backdrop { background: rgba(12,23,18,.45); }
.ed-set form { display: grid; gap: 14px; margin: 0; }
.ed-set__t { margin: 0 0 4px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.ed-set label { display: grid; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ci-ink-70); }
.ed-set input { height: 48px; padding: 0 14px; border: 1px solid rgba(28,31,37,.18); border-radius: 12px; background: #fff;
                font: 500 17px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; color: var(--ci-ink); }
.ed-set input:focus { outline: none; border-color: #00734F; box-shadow: 0 0 0 2px #00734F; }   /* the box the keyboard types into */
.ed-set__when { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ed-set__step { display: grid; grid-template-columns: 52px 1fr 52px; grid-template-rows: auto 52px; column-gap: 8px; row-gap: 6px; align-items: center; }
.ed-set__step span { grid-column: 1 / -1; font-size: 15px; font-weight: 700; color: var(--ci-ink-70); }
.ed-set__step b { text-align: center; font-size: 20px; font-weight: 700; color: var(--ci-ink); font-variant-numeric: tabular-nums; }
.ed-set__step button { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; background: #F1F4F2; color: var(--ci-ink); cursor: pointer; }
.ed-set__step svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ed-kb { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: #F1F4F2; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.ed-kb > div { display: flex; gap: 8px; }
.ed-kb button { flex: 1 1 0; min-width: 0; height: 54px; padding: 0; border: 0; border-radius: 10px; background: #fff; color: var(--ci-ink); cursor: pointer;
                font: 600 20px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; box-shadow: 0 1px 0 rgba(28,31,37,.12); transition: background-color .12s ease; }
.ed-kb button.is-wide { flex-grow: 1.5; font-size: 16px; }
.ed-kb button.is-space { flex-grow: 4; font-size: 16px; color: var(--ci-ink-70); }
.ed-kb button:active, .ed-set__step button:active { background: #DCE5E0; }
.ed-kb button.is-on { background: #00734F; color: #fff; }
.ed-kb svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ed-set__step button:focus-visible, .ed-kb button:focus-visible { outline: 2px solid #00734F; outline-offset: 2px; }
.ed-set__end { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.ed-set__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: #F1F4F2; }
.ed-set__tabs button { flex: 1; height: 50px; border: 0; border-radius: 12px; background: none; color: var(--ci-ink-70); cursor: pointer;
                       font: 700 18px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; }
.ed-set__tabs button[aria-selected="true"] { background: #fff; color: var(--ci-ink); box-shadow: 0 1px 3px rgba(28,31,37,.12); }
.ed-set__tabs button:focus-visible { outline: 2px solid #00734F; outline-offset: 2px; }
.ed-set__pane { display: grid; gap: 14px; }
.ed-set__pane[hidden] { display: none; }
/* the Slides tab: a switch per slide, two columns */
.ed-set__slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.ed-set .ed-set__slide { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 12px; border-radius: 14px; background: #F6F8F7; cursor: pointer;
                 font-size: 16px; font-weight: 600; color: var(--ci-ink); -webkit-tap-highlight-color: transparent; }   /* one row: beats .ed-set label */
.ed-set__num { flex: none; width: 28px; font-size: 14px; font-weight: 700; color: var(--ci-ink-70); font-variant-numeric: tabular-nums; }
.ed-set__name { flex: 1; min-width: 0; line-height: 1.25; }
.ed-set__slide input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ed-set__sw { position: relative; flex: none; width: 52px; height: 30px; border-radius: 15px; background: #C9D1CD; transition: background-color .2s ease; }
.ed-set__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
                     box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.ed-set__slide input:checked + .ed-set__sw { background: #00734F; }
.ed-set__slide input:checked + .ed-set__sw::after { transform: translateX(22px); }
.ed-set__slide:has(input:not(:checked)) .ed-set__name { color: var(--ci-ink-70); text-decoration: line-through; }
.ed-set__slide input:focus-visible + .ed-set__sw { outline: 2px solid #00734F; outline-offset: 2px; }
.ed-set__all { justify-self: start; height: 46px; padding: 0 18px; border: 1px solid rgba(28,31,37,.16); border-radius: 23px; background: #fff; cursor: pointer;
               font: 600 16px/1 Gilroy, -apple-system, "Segoe UI", sans-serif; color: var(--ci-ink); }
@media (prefers-reduced-motion: reduce) { .ed-set__sw, .ed-set__sw::after { transition: none; } }
.ed-slide.is-skipped { display: none !important; }        /* switched off in the settings */
.ed-set__note { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ci-ink-70); }
.ed-set__done { flex: none; border: 0; cursor: pointer; font: inherit; }
