:root {
  --bodyPaddingTop: 0px;
  --titleBrown: #c5a880;
  --titleGreen: #aeb1b7;
  --quoteColor_1: #a88d73;
  --cardBrown: #c5a880;
  --titleSkyblue: #66dfff;
  --titleWhite: #fff;
  --titleOange: #ff8c00;
  --quoteColor_2: #a88d73;
  --titleNavy: #254482;
  --titleSlateblue: #4a5e75;
  --quoteColor_3: #254482;
  --radius: 2rem;
  --LEDDotColor: #0005;
}

body {
  background: #232323;
  color: #fff;
}

/* 選單 */
.nav-topic-hidden {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  display: grid;
  place-content: center;
  background: #0005;
  pointer-events: none;
  backdrop-filter: blur(10px);
  isolation: isolate;
}

.nav-topic-hidden:popover-open {
  pointer-events: all;
}

.navHide {
  position: unset;
  border: none;
  padding: 0.5rem;
  margin-inline: auto;
  background: none;
}

.nav-topic-hidden .mainLogo {
  position: fixed;
  top: 1.2rem;
  left: 1.2rem;
}

.nav-topic-hidden .heroTitle {
  position: unset;
  margin-bottom: 0;
}

.nav-topic-hidden li {
  margin-bottom: 1em;
  padding-top: 1em;
  line-height: 1;
}

.nav-topic-hidden li + li {
  border-top: 1px solid #f4f4f4;
}

.nav-topic-hidden a {
  color: #fff;
  font-size: 1.6em;
  position: relative;
  display: block;
}

.nav-topic-hidden a:hover {
  color: var(--titleSkyblue);
}

/* 文字|區塊 */
h1,
h2,
h3,
h4 {
  text-align: center;
  color: var(--titleLight);
  margin-bottom: 0.8em;
}

h2 {
  font:
    900 clamp(1.8em, 3vw, 2.8em) / 1.2 "Noto serif TC",
    system-ui;
  color: var(--titleBrown);
  margin-top: 0.5em;
}

#T2 h2 {
  color: var(--titleSkyblue);
  text-shadow:
    1px 1px 1px #000,
    1px -1px 1px #000,
    -1px 1px 1px #000,
    -1px -1px 1px #000;
}

#T3 h2 {
  color: var(--titleNavy);
}

h2 span,
h3 span {
  display: block;
}

h3 {
  font-size: clamp(1.4em, 2.2vw, 1.8em);
  line-height: 1.3;
  margin-top: 2em;
}

#T1 h3,
#T3 h3 {
  color: var(--titleGreen);
  text-align: left;
  border-left: 6px solid currentColor;
  padding-left: 0.5em;
}

#T2 h3 {
  color: var(--titleWhite);
  text-shadow: 0 0 5px #000;
}

#T3 h3,
#TRelated h3 {
  color: var(--titleSlateblue);
}

.sectionIntro {
  font-family: "Noto Serif TC", serif, System-ui;
  font-size: 1.1em;
}

.fullPage {
  max-width: 100%;
  min-height: 100lvh;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  margin-inline: auto;
}

.fullPage h2 {
  position: sticky;
  top: 35lvh;
}

#T1 .fullPage h2 {
  position: unset;
}

section {
  position: relative;
  padding-block: 4rem;
}

@media (max-width: 707px) {
  section {
    padding-inline: 1rem;
  }
}

.chronology > * {
  max-width: 680px;
  margin-inline: auto;
}

.hero,
#T3 {
  clip: rect(0, auto, auto, 0);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

#T1 {
  background:
    linear-gradient(to bottom, #2c2c2c 0px, transparent 300px),
    linear-gradient(
      to right,
      transparent 0,
      #23232399 calc(50% - 300px),
      #23232399 calc(50% + 300px),
      transparent 100%
    ),
    #232323 fixed url(image/t1bg.webp) repeat;
  box-shadow:
    0px -5px 20px #2d2d2d,
    0px -30px 60px #2d2d2d;
}

#T2 {
  background:
    linear-gradient(to bottom, #232323 0px, transparent 300px),
    linear-gradient(to right, transparent 0, #232323aa calc(50% - 300px), #232323aa calc(50% + 300px), transparent 100%);
}

#T2 p:not(blockquote p) {
  position: relative;
  display: block;
  text-shadow: 0 0 1px #000;
  padding: 0 1em;
  text-shadow:
    1px 1px 1px #000,
    1px -1px 1px #000,
    -1px 1px 1px #000,
    -1px -1px 1px #000;
}

#T3 {
  color: #232323;
  background: #eee fixed center/ cover linear-gradient(120deg, #c1c7c9 0, #f0f0f0 70%, #eeeff2 100%);
}

#T3 .fixedBg {
  max-width: 100%;
}

#T3 .fixedBg img {
  width: max(50vw, 500px);
  height: auto;
  transform: translate(56vw, 150px);
  mask-image: linear-gradient(290deg, #000 30%, #0001 100%);
}

@media (max-width: 707px) {
  #T3 .fixedBg img {
    transform: translate(30vw, 250px);
    width: 100%;
    opacity: 0.5;
    filter: blur(2px);
  }
}

#T3 p {
  filter: drop-shadow(1px 1px 5px #fff);
}

#T3 blockquote p {
  filter: none;
}

.photoBox {
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2em;
}

#T1 .photoBox {
  max-width: 880px;
}
#T1 .photoBox img {
  filter: drop-shadow(1px -1px 4px #fffa);
}

#T3 .photoBox img {
  border: 6px solid #fff;
  margin-bottom: 0.5em;
}

figcaption {
  font-size: 0.88em;
  color: #dfdfdf;
  padding-inline: 0.5em 1em;
}

figcaption:not(.waterfall figcaption) {
  border-left: 2px solid var(--titleBrown);
  margin-left: 1em;
}

#T3 figcaption {
  color: #4d4d4d;
  border-left: 2px solid currentColor;
}

#TRelated,
#Credit {
  background: #fff fixed center center/ 100vw 100lvh linear-gradient(120deg, #c1c7c9 0, #f0f0f0 70%, #eeeff2 100%);
  margin-block: -1px;
  margin-inline: auto;
  color: #232323;
}

.topic__credit {
  max-width: 960px;
  margin-inline: auto;
}

.videoBox {
  max-width: 580px;
  margin-inline: auto;
  margin-top: 4em;
}

.videoBox iframe {
  min-width: 321px;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  box-shadow: 0 0 80px 0 #9995;
}

.lb-outerContainer {
  background-color: #000 !important;
}

.lightbox .lb-image {
  border: 4px solid #000 !important;
}

.chronology {
  position: relative;
  max-width: 100%;
  margin-inline: auto;
  isolation: isolate;
}

.chronology::before {
  content: "1970年代";
  position: sticky;
  top: 30lvh;
  left: 5vw;
  display: block;
  height: 100%;
  width: 90vw;
  font:
    900 clamp(2.5em, 13vw, 5.5em) / 1 MerriWeather,
    "Noto Serif TC",
    system-ui;
  color: transparent;
  text-shadow: 0 0 0 #fff4;
  z-index: -1;
  animation: fadeOut ease-in-out forwards;
  animation-timeline: view();
  animation-range: entry 0% exit 100%;
}

@keyframes fadeOut {
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

@media (max-width: 820px) and (orientation: portrait) {
  .chronology::before {
    top: 5lvh;
    animation: none;
    opacity: 0.5;
  }
}

.c2::before {
  content: "1980年代";
}

.c3::before {
  content: "2000年代";
}

.c4::before {
  content: "2020年代";
}

.c5::before {
  content: "未來式";
}

/* 金句 */
.slideOver {
  min-height: 75lvh;
  position: relative;
  display: flex;
  place-items: center;
}

#T3 .slideOver:has(.alt) {
  min-height: 90lvh;
}

blockquote {
  background: #f4f4f4;
  box-sizing: border-box;
  max-width: 480px;
  padding: 1.5rem 3rem;
  margin-inline: auto;
  position: absolute;
  inset: auto 0;
  margin: auto;
}

#T3 blockquote {
  background: #cacaca;
  border: 1px solid #4d4d4d;
}

#T3 blockquote.alt {
  background: none;
  margin-block: 4em;
  border: none;
}

blockquote.alt .saysWhat {
  font-size: clamp(1.45em, 2vw, 1.8em);
  text-align: center;
}

blockquote.alt .byWho {
  text-align: center;
}

blockquote::before,
blockquote::after {
  content: "";
  position: absolute;
  inset: 0.8rem auto auto 0.8rem;
  color: var(--titleBrown);
  font: var(--fa-font-solid);
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  height: 1em;
  position: absolute;
  margin: auto;
  text-align: center;
}

blockquote::after {
  content: "";
  inset: auto 0.8rem 0.8rem auto;
}

.saysWhat {
  color: var(--titleBrown);
  font:
    600 1.2em/1.3 "Noto Serif TC",
    Serif;
  margin-bottom: 0.5rem;
  text-align: left;
  letter-spacing: 2px;
}

.byWho {
  font-size: 0.88em;
  font-weight: 600;
  color: #232323;
  text-align: right;
  margin: 0;
}

.byWho::before {
  content: "－";
}

#T3 blockquote::before,
#T3 blockquote::after {
  color: var(--titleNavy);
}

#T3 .saysWhat {
  color: #232323;
}

.byWho span {
  display: inline-block;
}

/* 表格 */
.style1 {
  border-collapse: collapse;
  max-width: 580px;
  background: #0005;
}

.style1 caption {
  visibility: hidden;
}

.style1 td,
.style1 th {
  border: 1px solid var(--quoteColor_2);
  padding: 0.8rem;
  vertical-align: middle;
  text-align: center;
}

.style1 th {
  font-weight: 600;
}

/* 瀑布流照片集 */
.chronology + h2 {
  margin-top: 4em;
}

.waterfall {
  --gap: 10px;
  columns: 4;
  column-gap: var(--gap);
  margin-top: 4em;
  max-width: 1200px;
  margin-inline: auto;
  padding-bottom: 8em;
  background: 50% / cover radial-gradient(closest-corner, #fff5 0, transparent 60%) no-repeat;
}

@media (min-width: 990px) {
  .waterfall .news__card:nth-of-type(1):before {
    content: "";
    display: block;
    height: 6em;
  }

  .waterfall .news__card:nth-of-type(10):before {
    content: "";
    display: block;
    height: 3em;
  }

  .waterfall .news__card:nth-of-type(16):before {
    content: "";
    display: block;
    height: 9em;
  }
}

@media (min-width: 708px) and (max-width: 990px) {
  .waterfall {
    columns: 3;
  }
}

@media (max-width: 707px) {
  .waterfall {
    columns: 2;
  }
}

.waterfall > * {
  break-inside: avoid;
}

.waterfall > * + * {
  margin-top: var(--gap);
}

.waterfall .news__card a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: scale 600ms;
  border: solid 1px #0006;
}

.waterfall figcaption {
  font-size: 0.78em;
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  margin: auto;
  background: #0006;
  color: #f4f4f4;
  border-radius: 0 0 12px 12px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-align: left;
}

@supports (animation-timeline: view()) {
  .waterfall,
  .waterfall .news__card {
    animation: photoIn ease-in-out forwards;
    animation-timeline: view();
    animation-range: entry 0% exit 80%;
  }
}

@supports (font: -apple-system-body) {
  .waterfall,
  .waterfall .news__card {
    animation: none;
  }
}

@keyframes photoIn {
  0%,
  100% {
    opacity: 0.3;
    scale: 0.5;
  }

  25%,
  75% {
    opacity: 1;
    scale: 1;
  }
}

/* 人物手拉 */
.timeline--horizon {
  position: relative;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 1rem;
  padding-left: 3rem;
  width: min(100%, 1400px);
  margin-inline: auto;
  margin-top: 1em;
}

@media (max-width: 1219px) {
  .timeline--horizon .drag {
    display: flex;
    user-select: none;
    gap: 0 1rem;
  }
  .timeline--horizon .drag:hover {
    cursor: grab;
  }
  .timeline--horizon .drag:active {
    cursor: grabbing;
  }
}

.timeline--horizon .card {
  scroll-snap-align: center;
  overflow: hidden;
  flex: 1 0 220px;
  border: var(--cardBrown) 1px solid;
  border-radius: var(--radius);
  position: relative;
  padding-top: 90px;
  box-sizing: border-box;
  background: right top/ 120px auto url(image/card.svg) no-repeat;
  isolation: isolate;
}

.timeline--horizon img {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 140px;
  width: auto;
  z-index: -1;
  mask-image: linear-gradient(90deg, #0003 0, #000 20%, #000 80%, #0003 100%);
}

.timeline--horizon h4 {
  font:
    600 1.6em/1.2 "Noto Serif TC",
    Serif;
  text-align: right;
  padding-right: 1rem;
  margin-bottom: 0.2em;
  color: #fff;
}
.callName {
  font:
    600 1em/1.2 "Noto Serif TC",
    Serif;
  background: var(--cardBrown);
  display: flex;
  padding: 0.3em 1em;
  margin-inline: auto 0;
  color: #232323;
  min-height: 3em;
  align-items: center;
  margin-bottom: 0.5em;
  justify-content: center;
  text-align: center;
  text-wrap: balance;
}

.achievement {
  color: #fff;
  line-height: 1.5;
  font-size: 0.88em;
  margin-inline: 1rem;
}

/* 滑動指示 */
.instruction {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.timeline--horizon .instruction--PC {
  position: absolute;
  width: fit-content;
  height: fit-content;
  border-radius: 0.25rem;
  background: #f4f4f4;
  padding: 0.8em 1em;
  line-height: 1;
  display: flex;
  place-content: center;
  inset: 0;
  margin: auto;
  pointer-events: none;
  transition: opacity 500ms;
  display: none;
}
@media (min-width: 990px) and (max-width: 1219px) {
  .timeline--horizon .instruction--PC {
    display: block;
  }
}

.timeline--horizon .instruction--PC::before {
  content: "按住滑鼠左鍵或滾輪左右移動";
  color: #232323;
  background: 0 50% / contain
    url("data:image/svg+xml,%3Csvg version='1.1' id='' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 183.8 245' style='enable-background:new 0 0 183.8 245;' xml:space='preserve'%3E %3Cpath d='M0,107.2v61.2C0,210.7,34.3,245,76.6,245h30.6c42.3,0,76.6-34.3,76.6-76.6v-61.2H91.9H0z'/%3E %3Cpath d='M183.8,91.9V76.6c0-42.3-34.3-76.6-76.6-76.6h-7.7v91.9H183.8z'/%3E %3Cpath style='fill:%23B80000;' d='M-1.4,91.9h84.2V0h-7.7C32.9,0-1.4,34.3-1.4,76.6V91.9z'/%3E %3C/svg%3E ")
    no-repeat;
  padding-left: 1.5rem;
}

@media (max-width: 990px) {
  .instruction {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .instruction:before,
  .instruction:after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    z-index: 3;
    opacity: 1;
    transition: opacity 1000ms ease;
    pointer-events: none;
  }
  .instruction:after {
    background: center/2em
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 65.8 73.6'%3E%3Cpath d='M62.2 37.6c-3.2-8.4-7.5-20.1-7.5-20.1-1.6-4.1-6.2-6.2-10.3-4.7-.8.3-1.5.7-2.2 1.2-2.2-1.7-5.1-2.1-7.7-1.2-1 .4-1.9.9-2.7 1.7-2.1-1.4-4.9-1.8-7.3-.9-.7.2-1.3.6-1.8 1L18.9 4.2c-.6-1.6-1.8-2.9-3.4-3.6s-3.4-.8-5-.2c-1.7.6-3 1.8-3.7 3.4-.7 1.6-.8 3.4-.1 5l11.7 29.9c-5.5-5.2-5.5-5.2-5.5-5.3l-.1-.1-.3-.2c-2-1.3-7.2-4.8-10.6-1.3-4.3 4.5-.6 9.7 3.6 14.1.6.8 5.7 7.6 11.4 14.2C25.5 70.4 29.6 73.2 32 73.6c.7.1 1.2 0 1.7-.2l29.8-11.2c1.4-.5 2.2-3.8 2.3-6.7.1-3.3-.4-9.2-3.6-17.9zm-.1 22.2l-29.4 11c-.1 0-2.6.7-13.8-12.4-5.9-6.8-11.2-13.9-11.2-14l-.1-.1c-5.6-6-5.5-8.5-3.7-10.4.6-.6 1.4-.8 2.3-.6 1.4.2 3.1 1.2 4.7 2.3l.2.1c.8.7 6.7 6.4 9.9 9.5.5.4 1.2.5 1.7.2.5-.4.8-1.1.5-1.7L9.2 7.8c-.3-.9-.3-1.9.1-2.8s1.2-1.6 2.1-2c.9-.4 2-.3 2.9.1s1.6 1.2 2 2.1l4.6 12.3v.1l6.4 17c.2.5.6.8 1.1.9.2 0 .5 0 .7-.1.7-.3 1.1-1.1.8-1.8l-6.1-16.3c.5-.5 1.1-.9 1.7-1.1 1.9-.7 4-.2 5.4 1.1l5.2 13.9c.2.5.6.8 1.1.9.2 0 .5 0 .7-.1.7-.3 1.1-1.1.8-1.8l-5.1-13.6c.5-.5 1.1-1 1.8-1.2 1.9-.7 4-.2 5.5 1.2.1 0 .1.1.2.1L45.3 28c.2.5.6.8 1.1.9.2 0 .5 0 .7-.1.7-.3 1.1-1.1.8-1.8l-4.1-10.9c.4-.4.9-.7 1.4-.9 2.7-1 5.7.4 6.8 3.1 0 0 4.3 11.7 7.5 20.1 5 13.2 3.5 19.9 2.6 21.4z' fill='%23f4f4f4'/%3E%3C/svg%3E")
      no-repeat;
    animation: swipe 1.5s ease-out infinite;
  }
  .instruction:before {
    background: 45%/1.8em
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35.7 28.4'%3E%3Cpath d='M32.7 10.7H11.5l6.9-5.5c1.3-1 1.5-2.9.5-4.2S16-.4 14.7.6L1.1 11.4l-.1.1-.3.3-.2.2c-.1.1-.1.2-.2.3 0 .1-.1.1-.1.2s-.1.2-.1.4c0 .1 0 .1-.1.2V13.8c0 .2 0 .4.1.6v.1c0 .1.1.3.2.4 0 .1.1.1.1.2.1.1.1.2.2.3 0 .1.1.1.2.2s.2.2.2.3l.1.1 13.6 11.8c1.2 1.1 3.1.9 4.2-.3s.9-3.1-.3-4.2L11 16.7h21.8c1.6 0 3-1.3 3-3s-1.5-3-3.1-3z' fill='%23fff'/%3E%3C/svg%3E")
      no-repeat;
    animation: arrow 1.5s ease-out infinite;
  }

  .timeline--horizon {
    scroll-snap-type: x mandatory;
  }
}

.instruction.off:before,
.instruction.off:after,
.instruction.off .timeline--horizon::before {
  opacity: 0 !important;
}

@keyframes swipe {
  0% {
    rotate: 8deg;
    transform-origin: bottom;
  }
  50% {
    rotate: -3deg;
    transform-origin: bottom;
  }
  100% {
    rotate: 8deg;
    transform-origin: bottom;
  }
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  50% {
    transform: translateX(-10%);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* 人物跑馬 */
@media (min-width: 1220px) {
  .infinity-scroll {
    --infinity-scroll-height: 17em;
    --infinity-scroll-width: 220px;
    --infinity-scroll-item: 20;
    --infinity-scroll-duration: 80s;
    position: relative;
    max-width: unset;
    width: min(100%, 1400px);
    height: var(--infinity-scroll-height);
    overflow: hidden;
    margin-inline: auto;
    mask-image: linear-gradient(to right, #0000, #000 18%, #000 82%, #0000);
  }

  .infinity-scroll:hover .card {
    animation-play-state: paused;
    cursor: crosshair;
  }

  .infinity-scroll .card {
    width: var(--infinity-scroll-width);
    height: var(--infinity-scroll-height);

    left: max(var(--infinity-scroll-width) * var(--infinity-scroll-item), 100%);
    animation-name: scrollLeft;
    animation-duration: var(--infinity-scroll-duration);
    animation-timing-function: linear;
    animation-iteration-count: infinite;

    border: var(--cardBrown) 1px solid;
    border-radius: var(--radius);
    position: absolute;
    padding-top: 90px;
    box-sizing: border-box;
    background: right top/ 120px auto url(image/card.svg) no-repeat;
    isolation: isolate;
  }
}

@keyframes scrollLeft {
  to {
    left: calc(var(--infinity-scroll-width) * -1);
  }
}

.infinity-scroll .item1 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 1) * -1
  );
}

.infinity-scroll .item2 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 2) * -1
  );
}

.infinity-scroll .item3 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 3) * -1
  );
}

.infinity-scroll .item4 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 4) * -1
  );
}

.infinity-scroll .item5 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 5) * -1
  );
}

.infinity-scroll .item6 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 6) * -1
  );
}

.infinity-scroll .item7 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 7) * -1
  );
}

.infinity-scroll .item8 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 8) * -1
  );
}

.infinity-scroll .item9 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 9) * -1
  );
}
.infinity-scroll .item10 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 10) * -1
  );
}
.infinity-scroll .item11 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 11) * -1
  );
}
.infinity-scroll .item12 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 12) * -1
  );
}
.infinity-scroll .item13 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 13) * -1
  );
}
.infinity-scroll .item14 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 14) * -1
  );
}
.infinity-scroll .item15 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 15) * -1
  );
}
.infinity-scroll .item16 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 16) * -1
  );
}
.infinity-scroll .item17 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 17) * -1
  );
}
.infinity-scroll .item18 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 18) * -1
  );
}
.infinity-scroll .item19 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 19) * -1
  );
}
.infinity-scroll .item20 {
  animation-delay: calc(
    var(--infinity-scroll-duration) / var(--infinity-scroll-item) * (var(--infinity-scroll-item) - 20) * -1
  );
}

/* 製程標籤 */
.tabGroup {
  max-width: 580px;
  text-align: center;
  padding-bottom: 2.6rem;
}

#CoWoS,
#SoIC {
  display: none;
}

.tabList {
  display: flex;
  gap: 0 1rem;
  justify-content: center;
  margin-bottom: 1.5em;
}

.tabList a {
  display: block;
  font-weight: 600;
  color: var(--quoteColor_2);
  border: 1px solid currentColor;
  border-radius: 6px;
  width: fit-content;
  padding: 6px 15px;
  background: #232323;
}

.tabList a:hover,
.tabList .active a {
  text-decoration: none;
  color: #232323;
  background: var(--titleSkyblue);
}

.list-box {
  border: 1px solid var(--quoteColor_2);
  border-radius: 6px;
  margin-top: -2.6rem;
  padding-inline: 1em;
  background: #0005;
}

.list-box dl {
  padding-top: 2.8rem;
}

.list-box dt {
  color: var(--titleSkyblue);
  font-weight: 600;
  position: relative;
}

.list-box dd {
  margin-bottom: 2em;
}

.list-box dd + dt::before {
  content: "◆";
  position: absolute;
  inset: -1.65em 0 auto;
  margin: auto;
  color: var(--quoteColor_2);
}

/* 產業鍊 */
.indChain {
  max-width: 580px;
}

.indChain dl + h4::before {
  content: "▼";
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
}

.indChain dl {
  display: grid;
  grid-template-columns: auto 1fr;
  margin-bottom: 2em;
  gap: 1em;
  border: 1px solid var(--quoteColor_2);
  border-radius: 6px;
  padding: 1em;
  background: #0005;
  align-items: center;
}

.indChain dt {
  justify-self: end;
  color: #232323;
  font-weight: 900;
  line-height: 1.2;
  background: var(--titleSkyblue);
  border-radius: 6px;
  width: fit-content;
  height: fit-content;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.indChain dl {
  font-size: 0.88em;
}

/* Video Loading */
.videoBg {
  width: 100%;
  height: 100lvh;
  position: relative;
  overflow: hidden;
  background: #232323;
}

.vidIntro #video {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1500ms ease;
  filter: brightness(0.9) contrast(1.4);
}
.vidIntro #video,
.vidIntro blockquote {
  opacity: 0;
}
.vidIntro .progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font:
    600 2em/1 Merriweather,
    system-ui !important;
  z-index: 2;
}
.vidIntro .progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 0;
  background: red;
  z-index: 2;
}
.vidIntro.done #video,
.vidIntro.done blockquote {
  opacity: 1;
}
.vidIntro.done .progress-text,
.vidIntro.done .progress-bar {
  display: none;
}

/* HERO */
.header__extend {
  height: 300lvh;
  position: absolute;
  top: 0;
  width: calc(90px + 3.5vw);
  border: 0;
  padding-left: 8px;
}

.mainLogo {
  position: sticky;
  top: 10px;
  display: block;
  width: calc(90px + 3.5vw);
  filter: drop-shadow(5px 5px 5px #000a);
}

.hero {
  background: #000;
  color: #fff;
  --shift: 150px;
  min-height: 100lvh;
}

.scrollV100 {
  display: flex;
  align-items: center;
  min-height: 100lvh;
  padding-inline: 1rem;
}

@media (max-width: 820px) and (orientation: portrait) {
  .header__extend {
    height: 200lvh;
  }

  .scrollV100:nth-of-type(n + 2) {
    margin-block: 20vh 0;
    min-height: 0;
    align-items: flex-end;
  }

  .scrollV100:nth-of-type(n + 3) {
    margin-block: 0 35vh;
    min-height: 0;
    align-items: flex-start;
  }
}

.heroTitle,
.intro {
  margin-inline: auto calc(50% - var(--shift));
  max-width: 540px;
}

.intro {
  font-weight: 600;
  text-shadow:
    1px 1px 1px #000,
    1px -1px 1px #000,
    -1px 1px 1px #000,
    -1px -1px 1px #000;
}

h1 {
  font:
    900 1.35em/1.2 sans-serif,
    system-ui !important;
  user-select: none;
}

h1 span:not(.subTitle) {
  display: inline-block;
  text-shadow: 1px 1px 0px #000a;
}

.subTitle {
  font-family: "Noto Serif TC", Serif;
  font-size: clamp(2.95em, 10vw, 5em);
  letter-spacing: min(0.7vw, 10px);
  margin-bottom: 0.1em;
  position: relative;
  display: block;
  color: transparent;
  background: radial-gradient(circle farthest-corner, rgba(112, 224, 252, 0.667) 100%, rgba(0, 238, 255, 0.952) 0%);
  background-clip: text;
  isolation: isolate;
  user-select: none;
}

.hero .subTitle {
  filter: brightness(1.2);
}

.subTitle::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  margin: auto;
  color: rgba(233, 248, 252, 0.637);
  -webkit-text-stroke: rgba(39, 133, 209, 0.945) 1.5px;
}

.subTitle::before {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  margin: auto;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.9),
    /* 內圈白光 */ 0 0 10px rgba(0, 180, 216, 0.8),
    /* 核心藍光 */ 0 0 20px rgba(0, 180, 216, 0.6),
    /* 中層擴散藍光 */ 0 0 40px rgba(0, 119, 182, 0.4),
    /* 外圍大範圍暈染 */ 0 0 80px rgba(0, 119, 182, 0.2);
  filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.5));
  animation: fade 8s linear infinite forwards;
  z-index: -1;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.scroll-down {
  color: currentColor;
  pointer-events: none;
}

/* 環台灣光線 */
.heroBg {
  position: absolute;
}

.hero .fixedBg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(transparent, var(--LEDDotColor));
  background-size: 3px 3px;
  z-index: 1;
}

@property --rotate-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.TW_fix {
  width: 100%;
  height: 100lvh;
  position: relative;
}

.TW {
  position: absolute;
  width: 242px;
  aspect-ratio: 242/331;
  z-index: 2;
  inset: 28lvh auto auto calc(50% + var(--shift));
  margin: auto;
}

.fixedBg .TW_fill {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: contrast(1.2);
}

.TW_border {
  content: "";
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: url(#clip);
  background: conic-gradient(
    from var(--rotate-angle) at 45% 45%,
    #fefbb9 0%,
    transparent 20%,
    transparent 90%,
    #fefbb9 100%
  );
  animation: rotate-border 4.5s linear infinite;
  position: absolute;
  inset: 0;
  scale: 1 0.95;
  transform: translate(2%, 2%);
  transform-origin: 45% 45%;
}

@keyframes rotate-border {
  0% {
    --rotate-angle: -60deg;
  }

  25% {
    --rotate-angle: 20deg;
  }

  50% {
    --rotate-angle: 120deg;
  }

  75% {
    --rotate-angle: 190deg;
  }

  100% {
    --rotate-angle: 300deg;
  }
}

@media (max-width: 707px) {
  .heroTitle {
    margin-bottom: 4rem;
  }

  .TW {
    inset: auto 5vw 28vh auto;
    width: 40%;
  }

  .heroTitle,
  .intro {
    margin-inline: auto;
  }
  .scrollV100:nth-of-type(n + 2) {
    background: linear-gradient(180deg, transparent 0%, #0005 50%);
  }

  .scrollV100:nth-of-type(n + 3) {
    background: linear-gradient(180deg, #0005 50%, transparent 100%);
  }
}
