/* The three disciplines, presented as one quietly illuminated stage. */
.emotion-chapter{
  position:relative;isolation:isolate;overflow:hidden;
  padding:58px 5% 62px;color:#eeeae4;background:#0b0c10;
  border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12;
}
.emotion-chapter:before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 38% 0%,#72324918,transparent 53%),radial-gradient(ellipse at 90% 78%,#30639a14,transparent 46%);
}
.emotion-chapter .chapter-heading{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  color:#98989f;
}
.emotion-chapter .chapter-heading .section-code:first-child{color:#d9b1b8;}
.emotion-heading{
  display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,.7fr);
  align-items:end;gap:8%;margin:62px 0 42px;
}
.emotion-heading h2{
  font-family:var(--display);font-size:clamp(46px,5.6vw,92px);
  line-height:.98;letter-spacing:-2.4px;font-weight:700;
}
.emotion-heading h2 em{font-style:normal;font-weight:400;color:#d6a7b2;}
.emotion-heading p{font-size:11px;line-height:1.9;color:#adacb3;margin-bottom:20px;}
.emotion-heading .underlink{font-size:10px;color:#eeeae4;}
.emotion-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.emotion-panel{
  --emotion-color:255,123,148;
  display:block;position:relative;min-width:0;overflow:hidden;
  border:1px solid #ffffff1c;background:#111217;
  border-radius:2px;
  transition:border-color .45s,background .45s,box-shadow .45s;
}
.emotion-panel:before{
  content:"";position:absolute;top:0;left:0;right:0;
  height:85px;z-index:1;pointer-events:none;
  background:linear-gradient(#0008,transparent);
}
.emotion-panel>img{
  display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;
  object-position:center;filter:saturate(.85) brightness(.9);
  transition:filter .7s;
}
.emotion-code{
  position:absolute;top:20px;left:23px;z-index:3;
  font-size:7px;letter-spacing:1.6px;line-height:1.8;
  color:#f3f0eb;text-shadow:0 1px 8px #000;
}
.emotion-caption{position:relative;display:block;padding:25px 58px 28px 25px;z-index:3;}
.emotion-caption>b{
  display:block;font-family:var(--display);font-size:clamp(36px,4.4vw,70px);
  letter-spacing:-1.5px;font-weight:400;line-height:1;
}
.emotion-caption>span{display:block;color:#a6a5ac;font-size:9px;line-height:1.8;margin-top:13px;}
.emotion-arrow{
  position:absolute;bottom:29px;right:23px;z-index:3;
  display:grid;place-items:center;width:30px;height:30px;
  border:1px solid #ffffff26;border-radius:50%;color:#c2b8bc;
  transition:border-color .4s,color .4s,transform .4s;
}
.emotion-arrow .ui-icon{width:13px;height:13px;}
.emotion-panel:hover,.emotion-panel:focus-visible{
  border-color:rgba(var(--emotion-color),.38);background:#15161c;
  box-shadow:0 14px 45px #0002;
}
.emotion-panel:hover>img,.emotion-panel:focus-visible>img{filter:saturate(1) brightness(1);}
.emotion-panel:hover .emotion-arrow,.emotion-panel:focus-visible .emotion-arrow{
  border-color:rgba(var(--emotion-color),.55);color:#f3e8eb;transform:translate(2px,-2px);
}
.emotion-light{--emotion-color:169,195,246;}
.emotion-image{--emotion-color:138,221,226;}
.emotion-wave,.emotion-ray,.emotion-scan{pointer-events:none;position:absolute;z-index:2;}
.emotion-wave{right:23px;top:21px;display:flex;align-items:center;gap:3px;height:16px;opacity:.65;}
.emotion-wave i{display:block;width:2px;height:14px;background:#f6c2cf;transform-origin:center;animation:emotion-level 2.6s ease-in-out infinite alternate;}
.emotion-wave i:nth-child(2n){height:9px;animation-delay:-.8s;animation-duration:1.8s;}
.emotion-wave i:nth-child(3n){height:17px;animation-delay:-1.6s;animation-duration:2.3s;}
.emotion-wave i:nth-child(5){animation-delay:-1.2s;height:11px;}
.emotion-ray{
  top:0;left:40%;width:39%;height:64%;transform-origin:50% 0;
  background:linear-gradient(180deg,#e8efff32,#b7caff05 85%,transparent);
  clip-path:polygon(49% 0,51% 0,100% 100%,0 100%);
  mix-blend-mode:screen;animation:emotion-light-sweep 13s ease-in-out infinite alternate;
}
.emotion-scan{
  top:0;left:0;width:100%;height:1px;opacity:.4;
  background:#c3f9ff;box-shadow:0 0 20px 5px #8bceda24;
  animation:emotion-screen-scan 12s linear infinite;
}
.emotion-footer{
  display:flex;align-items:center;gap:10px;margin-top:28px;padding-top:23px;
  border-top:1px solid #ffffff16;color:#9c9aa2;
  font-size:7px;line-height:1.8;letter-spacing:1.15px;
}
.emotion-footer>.live-dot{flex-shrink:0;margin:0 4px 0 0;width:4px;height:4px;}
.emotion-footer>a{
  display:inline-flex;align-items:center;gap:15px;margin-left:auto;
  min-height:36px;white-space:nowrap;color:#d9d5d3;font-size:9px;letter-spacing:.1px;
}
.emotion-footer .ui-icon{width:13px;height:13px;}
@keyframes emotion-level{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@keyframes emotion-light-sweep{from{transform:rotate(-25deg)}to{transform:rotate(25deg)}}
@keyframes emotion-screen-scan{0%{top:0;opacity:0}8%{opacity:.35}75%{opacity:.3}85%,100%{top:62%;opacity:0}}
@media(min-width:1600px){.emotion-chapter{padding-left:8%;padding-right:8%;}.emotion-heading{margin-top:78px;}.emotion-panels{gap:28px;}}
@media(max-width:1000px){
  .emotion-heading{grid-template-columns:minmax(0,1.5fr) minmax(200px,.8fr);gap:5%;}
  .emotion-heading h2{font-size:clamp(40px,5.6vw,65px);letter-spacing:-1.5px;}
  .emotion-panels{gap:13px;}
  .emotion-code{font-size:6px;left:17px;top:16px;letter-spacing:1px;}
  .emotion-caption{padding:20px 44px 22px 18px;}
  .emotion-caption>b{font-size:4.9vw;letter-spacing:-1px;}
  .emotion-caption>span{font-size:8px;}
  .emotion-arrow{bottom:24px;right:14px;width:26px;height:26px;}
  .emotion-wave{top:16px;right:16px;gap:2px;}
}
@media(max-width:760px){
  .emotion-chapter{padding:34px 7% 38px;}
  .emotion-chapter .chapter-heading{align-items:start;}
  .emotion-chapter .chapter-heading .section-code:last-child{max-width:125px;text-align:right;font-size:6px;}
  .emotion-heading{display:block;margin:40px 0 29px;}
  .emotion-heading h2{font-size:clamp(36px,8.6vw,61px);line-height:1.02;letter-spacing:-1.3px;}
  .emotion-heading>div{margin-top:24px;}
  .emotion-heading p{font-size:10px;margin-bottom:14px;line-height:1.85;}
  .emotion-heading .underlink{font-size:9px;}
  .emotion-panels{grid-template-columns:1fr;gap:20px;}
  .emotion-panel>img{aspect-ratio:16/9;object-fit:cover;}
  .emotion-code{font-size:7px;top:19px;left:20px;letter-spacing:1.3px;}
  .emotion-caption{padding:23px 61px 25px 22px;}
  .emotion-caption>b{font-size:48px;}
  .emotion-caption>span{font-size:9px;margin-top:9px;}
  .emotion-arrow{right:22px;bottom:28px;width:30px;height:30px;}
  .emotion-wave{top:20px;right:22px;}
  .emotion-footer{flex-wrap:wrap;gap:9px;font-size:6px;letter-spacing:.7px;margin-top:24px;padding-top:19px;}
  .emotion-footer>a{width:100%;margin-left:17px;font-size:9px;}
}
@media(prefers-reduced-motion:reduce){
  .emotion-wave i,.emotion-ray,.emotion-scan{animation:none!important;}
  .emotion-scan{display:none;}
  .emotion-panel,.emotion-panel>img,.emotion-arrow{transition:none;}
}
body.motion-paused .emotion-wave i,body.motion-paused .emotion-ray,body.motion-paused .emotion-scan{animation-play-state:paused!important;}
