/* =====================================================================
   The welcome sequence (js/intro.js). Four chapters on a night-time
   graph-paper board: what's new, thank you, Claude, and the welcome.
   ===================================================================== */

.intro{
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  overflow: hidden;
  background: #0E0B1A;
  color: #F4F1FA;
  font-family: var(--font);
  --i-purple: #B793F0;
  --i-orange: #FF9A5E;
  --i-blue: #8FB0FF;
  --i-dim: rgba(244, 241, 250, .62);
}
html.intro-on .intro{ display: block; }
html.intro-on body{ overflow: hidden; }
.intro.leaving{ animation: introOut 1s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes introOut{
  0%{ clip-path: inset(0 0 0 0); }
  100%{ clip-path: inset(0 0 100% 0); }
}
body.entering main.wrap{ animation: enterUp .9s .25s var(--ease-out) both; }
@keyframes enterUp{ from{ opacity: 0; transform: translateY(26px) scale(.99); } }

.intro-boot{ position: absolute; inset: 0; display: grid; place-items: center; }
.intro-boot img{ animation: bootPulse 1.2s ease-in-out infinite alternate; filter: brightness(0) invert(1); opacity: .9; }
@keyframes bootPulse{ from{ transform: scale(.94); opacity: .5; } to{ transform: scale(1.04); opacity: 1; } }

.in-grid{
  position: absolute;
  inset: -120px;
  background-image:
    linear-gradient(rgba(170, 160, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 160, 255, .07) 1px, transparent 1px),
    linear-gradient(rgba(170, 160, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170, 160, 255, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  animation: gridDrift 40s linear infinite;
  -webkit-mask: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 80%);
  mask: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 80%);
}
@keyframes gridDrift{ to{ transform: translate(120px, 120px); } }
.in-fx{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.scene{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 70px 28px 90px;
  opacity: 0;
  visibility: hidden;
  transform: scale(.97);
  filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out), visibility 0s .7s;
}
.intro.play-a .sa, .intro.play-b .sb, .intro.play-c .sc, .intro.play-d .sd{
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition: opacity .7s .15s var(--ease-out), transform 1s .15s var(--ease-out), filter .7s .15s var(--ease-out), visibility 0s;
}
.in-kicker{ font-size: .82rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--i-dim); }
.intro .hand{ font-family: var(--hand); font-weight: 700; }

/* ---------------------------------------------------- 1: what's new -- */
.sa-wrap{ width: min(1100px, 100%); display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: center; }
.sa-ver{ font-family: var(--display); font-weight: 800; font-size: clamp(5rem, 12vw, 9.5rem); line-height: .9; letter-spacing: -.06em; margin: 10px 0 6px; }
.sa-ver .v{ color: var(--i-orange); font-size: .5em; letter-spacing: 0; margin-right: .04em; vertical-align: .55em; }
.sa-title{ font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; }
.sa-date{ color: var(--i-dim); margin-top: 6px; }
.sa-note{ margin-top: 22px; font-size: 1.8rem; color: var(--i-orange); transform: rotate(-3deg); transform-origin: left; }
.sa-right{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.sa-col h3{ font-family: var(--font); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--i-purple); margin-bottom: 12px; }
.sa-col:last-child h3{ color: #7BE0AE; }
.sa-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sa-list li{
  position: relative;
  padding: 10px 12px 10px 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .95rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
}
.sa-list li::before{
  content: "";
  position: absolute;
  left: 12px; top: 12px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--i-purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.8 9.6 17.4 19 8' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.8 9.6 17.4 19 8' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.sa-list.fixed li::before{ background: #7BE0AE; }
.intro.play-a .sa-list li{ animation: itemIn .55s var(--ease-out) forwards; animation-delay: calc(900ms + var(--i) * 480ms); }
@keyframes itemIn{ to{ opacity: 1; transform: none; } }
.intro.play-a .sa-ver{ animation: verIn 1s .2s var(--spring) both; }
@keyframes verIn{ from{ opacity: 0; transform: translateY(30px) scale(.9); } }

/* ---------------------------------------------------- 2: thank you --- */
.sb{ text-align: center; }
.sb-spot{
  position: absolute;
  left: 50%; top: -10%;
  width: min(900px, 140vw); height: 120%;
  transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(255, 236, 200, .16) 172deg, rgba(255, 236, 200, .26) 180deg, rgba(255, 236, 200, .16) 188deg, transparent 200deg);
  -webkit-mask: linear-gradient(#000 40%, transparent 85%);
  mask: linear-gradient(#000 40%, transparent 85%);
  opacity: 0;
}
.intro.play-b .sb-spot{ animation: spotOn 1.4s .3s var(--ease-out) forwards, spotSway 6s 1.7s ease-in-out infinite alternate; }
@keyframes spotOn{ from{ opacity: 0; transform: translateX(-50%) rotate(-14deg); } to{ opacity: 1; transform: translateX(-50%) rotate(0); } }
@keyframes spotSway{ from{ transform: translateX(-50%) rotate(-2deg); } to{ transform: translateX(-50%) rotate(2deg); } }
.sb-dust i{
  position: absolute;
  left: calc(38% + (var(--k, 0) * 1%));
  top: 20%;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255, 240, 210, .7);
  animation: dust 7s linear infinite;
}
.sb-dust i:nth-child(3n){ left: 44%; animation-duration: 9s; animation-delay: -3s; }
.sb-dust i:nth-child(3n+1){ left: 56%; animation-duration: 8s; animation-delay: -1s; }
.sb-dust i:nth-child(4n){ left: 50%; animation-delay: -5s; }
.sb-dust i:nth-child(5n){ left: 60%; animation-delay: -2s; }
.sb-dust i:nth-child(7n){ left: 40%; animation-delay: -6s; }
@keyframes dust{ 0%{ transform: translate(0, 0); opacity: 0; } 20%{ opacity: .9; } 100%{ transform: translate(30px, 420px); opacity: 0; } }
.sb-wrap{ position: relative; z-index: 2; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.sb-kicker{ font-size: 2rem; color: var(--i-orange); transform: rotate(-3deg); }
.sb-lead{ margin-top: 18px; font-size: .82rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--i-dim); }
.sb-name{ font-size: clamp(3.4rem, 10vw, 7.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 8px 0 16px; color: #fff; text-shadow: 0 0 60px rgba(255, 220, 170, .25); }
.sb-name .w{ display: inline-block; white-space: nowrap; }
.sb-name .c{ display: inline-block; opacity: 0; transform: translateY(40%) rotate(8deg); }
.intro.play-b .sb-name .c{ animation: letterIn .7s var(--spring) forwards; animation-delay: calc(700ms + var(--i) * 55ms); }
@keyframes letterIn{ to{ opacity: 1; transform: none; } }
.sb-note{
  max-width: 560px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 154, 94, .35);
  background: rgba(255, 154, 94, .08);
  color: #FFE3D2;
  font-size: .95rem;
  opacity: 0;
}
.sb-note b{ color: var(--i-orange); }
.intro.play-b .sb-note{ animation: fadeUp .7s 1.8s var(--ease-out) forwards; }
.sb-cards{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.sb-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: left;
  opacity: 0;
}
.sb-card b{ display: block; font-size: 1.08rem; }
.sb-card small{ display: block; color: var(--i-dim); font-size: .84rem; }
.sb-av{
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  background: linear-gradient(140deg, #8E5CC8, #5B2B8C);
}
.sb-card.c2 .sb-av{ background: linear-gradient(140deg, #F29A4A, #E8641C); }
.intro.play-b .sb-card.c1{ animation: cardL .8s 3.2s var(--spring) forwards; }
.intro.play-b .sb-card.c2{ animation: cardR .8s 3.9s var(--spring) forwards; }
@keyframes cardL{ from{ opacity: 0; transform: translateX(-40px) rotate(-3deg); } to{ opacity: 1; transform: none; } }
@keyframes cardR{ from{ opacity: 0; transform: translateX(40px) rotate(3deg); } to{ opacity: 1; transform: none; } }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(12px); } to{ opacity: 1; transform: none; } }

/* ------------------------------------------------------- 3: Claude --- */
.sc{ background: radial-gradient(ellipse at 30% 50%, rgba(91, 43, 140, .35), transparent 60%); }
.sc-sweep{
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .09) 48%, rgba(255, 255, 255, .02) 52%, transparent 60%);
  transform: translateX(-100%);
}
.intro.play-c .sc-sweep{ animation: sweep 2.4s 1.2s var(--ease) forwards; }
@keyframes sweep{ to{ transform: translateX(100%); } }
.sc-wrap{ position: relative; z-index: 2; width: min(1100px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sc-center{ position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; }
/* a soft dark pool behind the name so the code rain never runs over the words */
.sc-center::before{ content: ""; position: absolute; inset: -40px -60px; z-index: -1; background: radial-gradient(closest-side, rgba(13, 9, 26, .9), rgba(13, 9, 26, .6) 60%, transparent); pointer-events: none; }
.sc-stage{ position: relative; width: 210px; height: 210px; perspective: 700px; display: grid; place-items: center; }
.sc-ring{ position: absolute; inset: 0; transform-style: preserve-3d; animation: ringSpin 9s linear infinite; }
.sc-ring span{
  position: absolute;
  left: 50%; top: 50%;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--i-purple);
  transform: rotateY(calc(var(--k) * 20deg)) translateZ(96px) translate(-50%, -50%);
  text-shadow: 0 0 12px rgba(183, 147, 240, .6);
}
.sc-ring span:nth-child(3n){ color: var(--i-orange); text-shadow: 0 0 12px rgba(255, 154, 94, .6); }
.sc-ring span:nth-child(3n+1){ color: var(--i-blue); }
@keyframes ringSpin{ from{ transform: rotateX(-14deg) rotateY(0); } to{ transform: rotateX(-14deg) rotateY(360deg); } }
.sc-mark{ position: relative; width: 108px; height: 108px; overflow: visible; filter: drop-shadow(0 0 24px rgba(183, 147, 240, .55)); }
.sc-mark path{ fill: none; stroke: #fff; stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro.play-c .sc-mark .bl{ animation: dash .8s .3s var(--ease-out) forwards; }
.intro.play-c .sc-mark .br{ animation: dash .8s .55s var(--ease-out) forwards; }
@keyframes dash{ to{ stroke-dashoffset: 0; } }
.sc-mark .caret{ fill: var(--i-orange); animation: blink 1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity: 0; } }
.sc-name{ font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -.04em; margin-top: 10px; }
.sc-name .c{ display: inline-block; opacity: 0; }
.intro.play-c .sc-name .c{ animation: typeIn .01s forwards; animation-delay: calc(900ms + var(--i) * 110ms); }
@keyframes typeIn{ to{ opacity: 1; } }
.sc-sub{ color: var(--i-dim); margin-top: 6px; opacity: 0; }
.sc-role{ margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 154, 94, .12); color: var(--i-orange); font-weight: 750; font-size: .92rem; opacity: 0; }
.intro.play-c .sc-sub{ animation: fadeUp .6s 1.7s var(--ease-out) forwards; }
.intro.play-c .sc-role{ animation: fadeUp .6s 2.2s var(--ease-out) forwards; }
.sc-editor{
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 16, 36, .92);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(183, 147, 240, .12);
  opacity: 0;
  transform: perspective(900px) rotateY(-12deg) translateX(30px);
}
.intro.play-c .sc-editor{ animation: edIn 1s .6s var(--ease-out) forwards; }
@keyframes edIn{ to{ opacity: 1; transform: perspective(900px) rotateY(-6deg); } }
.ed-bar{ display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); font-family: var(--mono); font-size: .74rem; color: var(--i-dim); }
.ed-bar i{ width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; }
.ed-bar i:nth-child(2){ background: #FFC24B; } .ed-bar i:nth-child(3){ background: #4FCB95; }
.ed-bar span{ margin-left: 8px; }
.ed-code{ margin: 0; padding: 16px 18px; min-height: 230px; font-size: .86rem; line-height: 1.65; color: #E9E4F5; white-space: pre-wrap; }
.ed-code .k{ color: #C4A2F2; } .ed-code .f{ color: #8FB0FF; } .ed-code .s{ color: #FFB07C; } .ed-code .c{ color: #7E7894; font-style: italic; }
.ed-code .cur{ display: inline-block; width: 8px; height: 1.1em; vertical-align: -.2em; background: var(--i-orange); animation: blink 1s steps(1) infinite; }
.ed-status{ display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-top: 1px solid rgba(255, 255, 255, .06); font-family: var(--mono); font-size: .74rem; color: var(--i-dim); }
.ed-status .spin{ width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--i-orange); animation: spin .8s linear infinite; }
.ed-status.done .spin{ border-color: #4FCB95; animation: none; background: #4FCB95; }
.ed-status.done{ color: #7BE0AE; }

/* ------------------------------------------------------ 4: welcome --- */
.sd{ text-align: center; }
/* the campus behind the welcome: slow Ken Burns pushes, crossfading */
.sd-photos{ position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; }
.sd-photos i{
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: saturate(1.1);
}
.sd-photos::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 55%, rgba(22, 12, 42, .5), rgba(14, 9, 28, .9) 78%),
    linear-gradient(180deg, rgba(14, 9, 28, .55), rgba(14, 9, 28, .25) 40%, rgba(14, 9, 28, .9));
}
.intro.play-d .sd-photos{ animation: raysIn 1.4s 4.1s var(--ease-out) forwards; }
.intro.play-d .sd-photos i{ animation: kenBurns 4.6s var(--ease) forwards; animation-delay: calc(4.1s + var(--k) * 1.55s); }
@keyframes kenBurns{
  0%{ opacity: 0; transform: scale(1.14) translate(1.5%, 1%); }
  22%{ opacity: 1; }
  100%{ opacity: 1; transform: scale(1.02) translate(0, 0); }
}
.sd-rays{
  position: absolute;
  left: 50%; top: 42%;
  width: 180vmax; height: 180vmax;
  margin: -90vmax 0 0 -90vmax;
  background: repeating-conic-gradient(from 0deg, rgba(183, 147, 240, .08) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 45%);
  mask: radial-gradient(circle, #000 0, transparent 45%);
  opacity: 0;
}
.intro.play-d .sd-rays{ animation: raysIn 1.5s 2s var(--ease-out) forwards, spin 60s linear infinite; }
@keyframes raysIn{ to{ opacity: 1; } }
.sd-logo{
  position: absolute;
  left: 50%; top: 42%;
  width: min(440px, 78vw);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.sd-logo svg{ width: 100%; height: auto; overflow: visible; }
.sd-logo .lg-glyph path{ fill-opacity: 0; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sd-logo .lg-word, .sd-logo .lg-sub{ opacity: 0; transform: translateY(10px); transform-box: fill-box; }
.intro.play-d .sd-logo .lg-glyph path{ animation: logoDraw 2s .2s var(--ease-out) forwards, logoFill .9s 1.8s var(--ease) forwards; }
.intro.play-d .sd-logo .lg-word{ animation: fadeUp .8s 2.2s var(--ease-out) forwards; }
.intro.play-d .sd-logo .lg-sub{ animation: fadeUp .8s 2.6s var(--ease-out) forwards; }
.intro.play-d .sd-logo{ animation: logoAway 1s 4.4s var(--ease) forwards; }
@keyframes logoDraw{ to{ stroke-dashoffset: 0; } }
@keyframes logoFill{ to{ fill-opacity: 1; } }
@keyframes logoAway{ to{ top: 13%; transform: translate(-50%, -50%) scale(.3); opacity: .95; } }
.sd-logo .lg-glyph path{ fill: #D2B6F2; stroke: #D2B6F2; }
.sd-logo .lg-sub path{ fill: #D2B6F2; }
.sd-welcome{ position: relative; z-index: 3; margin-top: 12vh; }
.sd-hello{ font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--i-dim); opacity: 0; }
.intro.play-d .sd-hello{ animation: fadeUp .7s 4.8s var(--ease-out) forwards; }
.sd-title{
  font-size: clamp(7rem, 26vw, 17rem);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .85;
  margin: 4px 0;
  perspective: 800px;
}
.sd-title .w{ display: inline-block; }
.sd-title .c{ display: inline-block; opacity: 0; transform: rotateX(90deg) translateY(30%); transform-origin: 50% 100%; }
.sd-title .c:nth-child(1){ color: var(--i-orange); }
.sd-title .c:nth-child(2){ color: #fff; }
.sd-title .c:nth-child(3){ color: var(--i-purple); }
.intro.play-d .sd-title .c{ animation: flipUp .9s var(--spring) forwards; animation-delay: calc(5100ms + var(--i) * 160ms); }
@keyframes flipUp{ to{ opacity: 1; transform: none; } }
.sd-sub{ display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; color: var(--i-dim); opacity: 0; }
.sd-sub i{ width: 7px; height: 7px; border-radius: 50%; background: var(--i-orange); }
.intro.play-d .sd-sub{ animation: fadeUp .7s 5.9s var(--ease-out) forwards; }
.sd-confetti i{
  position: absolute;
  top: -4%;
  left: calc(var(--x) * 1%);
  width: 9px; height: 14px;
  border-radius: 2px;
  background: var(--c);
  opacity: 0;
  transform: rotate(var(--r));
}
.intro.play-d .sd-confetti i{ animation: confettiFall 3s linear forwards; animation-delay: calc(5.4s + var(--d) * 1s); }
@keyframes confettiFall{
  0%{ opacity: 1; transform: translateY(0) rotate(var(--r)); }
  100%{ opacity: .9; transform: translateY(115vh) rotate(calc(var(--r) + 720deg)); }
}

/* ------------------------------------------------------------ chrome -- */
.intro-skip{
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.intro-skip:hover{ background: rgba(255, 255, 255, .16); }
.intro-skip kbd{ background: transparent; color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .3); }
.intro-chapters{
  position: absolute;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 10;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  width: min(560px, calc(100% - 40px));
}
.ic-ch{
  flex: 1;
  position: relative;
  padding: 16px 0 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .5);
  font-size: .74rem;
  font-weight: 700;
  text-align: left;
}
.ic-ch::before{ content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.ic-fill{ position: absolute; left: 0; top: 4px; height: 4px; width: 0; border-radius: 2px; background: var(--i-orange); }
.ic-ch.done .ic-fill{ width: 100%; background: rgba(255, 255, 255, .6); }
.ic-ch.on{ color: #fff; }
.ic-ch:hover{ color: #fff; }
@keyframes chFill{ to{ width: 100%; } }

/* calm version for reduced motion: plain cross-fades, nothing flies */
.intro.calm .scene{ transform: none !important; filter: none !important; transition: opacity .5s ease, visibility 0s .5s; }
.intro.calm.play-a .sa, .intro.calm.play-b .sb, .intro.calm.play-c .sc, .intro.calm.play-d .sd{ transition: opacity .5s ease, visibility 0s; }
.intro.calm *{ animation: none !important; }
.intro.calm .sa-list li, .intro.calm .sb-name .c, .intro.calm .sb-note, .intro.calm .sb-card, .intro.calm .sc-name .c,
.intro.calm .sc-sub, .intro.calm .sc-role, .intro.calm .sc-editor, .intro.calm .sd-hello, .intro.calm .sd-title .c,
.intro.calm .sd-sub, .intro.calm .sd-logo .lg-word, .intro.calm .sd-logo .lg-sub, .intro.calm .sb-spot{ opacity: 1; transform: none; }
.intro.calm .sd-logo{ top: 22%; transform: translate(-50%, -50%) scale(.6); }
.intro.calm .sd-logo .lg-glyph path{ fill-opacity: 1; stroke-dashoffset: 0; }
.intro.calm .sc-mark path{ stroke-dashoffset: 0; }
.intro.calm .sd-photos, .intro.calm .sd-photos i:last-child{ opacity: 1; }
.intro.calm .sd-confetti, .intro.calm .sd-rays, .intro.calm .sc-sweep, .intro.calm .sb-dust{ display: none; }
.intro.calm .ic-fill{ display: none; }
.intro.calm.leaving{ animation: none; opacity: 0; transition: opacity .3s; }

/* ------------------------------------------------------------ phones -- */
@media (max-width: 820px){
  .scene{ padding: 70px 18px 86px; overflow-y: auto; }
  .sa-wrap{ grid-template-columns: 1fr; gap: 22px; }
  .sa-right{ grid-template-columns: 1fr; gap: 16px; }
  .sa-list{ gap: 7px; }
  .sa-list li{ font-size: .86rem; padding: 8px 10px 8px 34px; }
  .sa-list li::before{ top: 9px; left: 10px; }
  .sa-note{ display: none; }
  .sa-ver{ font-size: 4.6rem; }
  .sa-col:last-child{ display: none; }
  .sc-wrap{ grid-template-columns: 1fr; gap: 20px; }
  .sc-editor{ display: none; }
  .sc-stage{ width: 170px; height: 170px; }
  .sb-note{ font-size: .86rem; }
  .ic-lbl{ display: none; }
  .intro-skip kbd{ display: none; }
}
