.afhf {
  --afhf-ink: #292a2b;
  --afhf-muted: #66686a;
  --afhf-line: #e3e4e5;
  --afhf-meta: 148px;
  --afhf-travel: clamp(900px, 115vh, 1450px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  background: #fff;
  color: var(--afhf-ink);
  font-family: var(--e-global-typography-10c216a-font-family, "Noto Sans TC"), "Microsoft JhengHei", sans-serif;
  font-size: var(--e-global-typography-10c216a-font-size, 13px);
  font-weight: var(--e-global-typography-10c216a-font-weight, 600);
  line-height: var(--e-global-typography-10c216a-line-height, 1.85714285714em);
  letter-spacing: var(--e-global-typography-10c216a-letter-spacing, 2.5px);
}

.afhf *,
.afhf *::before,
.afhf *::after {
  box-sizing: border-box;
}

.afhf .afhf-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 40px 6% 40px;
}

.afhf .afhf-intro > div {
  min-width: 0;
}

.afhf .afhf-intro h2 {
  margin: 0;
  color: inherit;
  font-family: var(--e-global-typography-f702fd3-font-family, "Times New Roman"), serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.afhf .afhf-intro p {
  margin: 16px 0 0;
  font: inherit;
  letter-spacing: inherit;
  overflow-wrap: anywhere;
}

.afhf .afhf-contact {
  display: inline-block;
  max-width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #747678;
  color: #343638;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.afhf .afhf-contact:hover {
  color: #111;
  border-color: #111;
}

/* These ancestors deliberately have no overflow, transform, or containment. */
.afhf .afhf-runway {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.afhf .afhf-pin {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: #fff;
}

.afhf[data-scroll="active"] .afhf-pin {
  transform: translate3d(0, var(--afhf-pin-offset, 0px), 0);
}

.afhf[data-scroll="active"] .afhf-runway {
  overflow-anchor: none;
}

.afhf[data-scroll="active"] .afhf-runway::after {
  content: "";
  display: block;
  height: var(--afhf-travel);
  pointer-events: none;
}

.afhf .afhf-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(280px, 50vw, 620px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  touch-action: pan-y pinch-zoom;
}

.afhf[data-scroll="active"] .afhf-stage {
  height: max(1px, calc(100vh - var(--afhf-inset, 0px) - var(--afhf-meta)));
  height: max(1px, calc(100svh - var(--afhf-inset, 0px) - var(--afhf-meta)));
}

.afhf .afhf-stage canvas,
.afhf .afhf-poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.afhf .afhf-poster {
  object-fit: cover;
  object-position: 54% 32%;
}

.afhf .afhf-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  min-width: 0;
  margin: 0;
  padding: 12px 6%;
  background: #fff;
}

.afhf .afhf-caption h3 {
  flex: 0 1 40%;
  min-width: 0;
  margin: 0;
  color: inherit;
  font-family: var(--e-global-typography-aa3f9d2-font-family, "Noto Sans TC"), "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  font-weight: var(--e-global-typography-aa3f9d2-font-weight, 600);
  line-height: 1.3;
  letter-spacing: .12em;
  overflow-wrap: anywhere;
}

.afhf .afhf-caption p {
  flex: 0 1 60%;
  min-width: 0;
  margin: 0;
  color: var(--afhf-muted);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .04em;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Full captions remain in the static DOM; the pin reserves two stable lines. */
.afhf .afhf-caption h3,
.afhf .afhf-caption p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.afhf .afhf-ui {
  margin: 0;
  padding: 0;
  background: #fff;
}

.afhf .afhf-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 8px 6% 10px;
}

.afhf .afhf-case {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #707477;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .05em;
  text-align: left;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.afhf .afhf-case[aria-current="true"],
.afhf .afhf-case:hover {
  color: #252729;
  border-bottom-color: #747678;
}

.afhf .afhf-case span {
  flex: 0 0 auto;
  margin-right: 8px;
  font-family: var(--e-global-typography-f702fd3-font-family, "Times New Roman"), serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.afhf .afhf-case:disabled {
  opacity: .55;
  cursor: default;
}

.afhf .afhf-track {
  height: 2px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--afhf-line);
}

.afhf .afhf-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: #55585b;
  transform: scaleX(0);
  transform-origin: left;
}

.afhf .afhf-static {
  padding: 24px 6% 48px;
}

.afhf .afhf-static ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afhf .afhf-static li,
.afhf .afhf-static figure {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.afhf .afhf-static img {
  display: block;
  width: 100%;
  height: 360px;
  margin: 0;
  border: 0;
  background: #fff;
  object-fit: contain;
}

.afhf .afhf-static figcaption {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.afhf .afhf-static figcaption span {
  color: var(--afhf-muted);
}

.afhf a:focus-visible,
.afhf .afhf-case:focus-visible {
  outline: 2px solid #51575b;
  outline-offset: 3px;
}

.afhf[data-mode="still"] .afhf-runway {
  display: none;
}

@media (max-width: 921px) {
  .afhf {
    --afhf-travel: clamp(740px, 120vh, 1080px);
  }
}

@supports (height: 1svh) {
  .afhf {
    --afhf-travel: clamp(900px, 115svh, 1450px);
  }

  @media (max-width: 921px) {
    .afhf {
      --afhf-travel: clamp(740px, 120svh, 1080px);
    }
  }
}

@media (max-width: 560px) {
  .afhf {
    --afhf-meta: 154px;
  }

  .afhf .afhf-intro {
    display: block;
    padding: 28px 24px 32px;
  }

  .afhf .afhf-intro h2 {
    font-size: 42px;
  }

  .afhf .afhf-contact {
    margin-top: 12px;
  }

  .afhf .afhf-stage {
    height: 460px;
  }

  .afhf[data-scroll="active"] .afhf-stage {
    height: max(1px, calc(100vh - var(--afhf-inset, 0px) - var(--afhf-meta)));
    height: max(1px, calc(100svh - var(--afhf-inset, 0px) - var(--afhf-meta)));
  }

  .afhf .afhf-caption {
    gap: 12px;
    height: 80px;
    padding: 10px 24px;
  }

  .afhf .afhf-caption h3 {
    flex-basis: 36%;
    font-size: 16px;
  }

  .afhf .afhf-caption p {
    flex-basis: 64%;
    font-size: 11px;
  }

  .afhf .afhf-nav {
    gap: 5px;
    padding: 6px 24px 10px;
  }

  .afhf .afhf-case {
    font-size: 11px;
    letter-spacing: 0;
  }

  .afhf .afhf-case span {
    display: none;
  }

  .afhf .afhf-static {
    padding: 20px 24px 40px;
  }

  .afhf .afhf-static ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-height: 600px) and (min-aspect-ratio: 4/3) {
  .afhf {
    --afhf-meta: 88px;
  }

  .afhf .afhf-caption {
    gap: 12px;
    height: 40px;
    padding: 4px 6%;
  }

  .afhf .afhf-caption h3 {
    font-size: 14px;
    -webkit-line-clamp: 1;
  }

  .afhf .afhf-caption p {
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 1;
  }

  .afhf .afhf-nav {
    gap: 8px;
    padding: 2px 6% 4px;
  }

  .afhf .afhf-case {
    height: 34px;
    min-height: 34px;
    padding: 4px 0;
    font-size: 11px;
  }

  .afhf .afhf-case span {
    display: none;
  }
}

@media (max-width: 767px) {
  .afhf .afhf-mobile-social {
    padding: 10px 6% 18px;
  }

  .afhf .afhf-mobile-social > [data-afhf-docked-social] {
    position: static;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 10px;
  }
}


/* Opt-in layout for the homepage's first artwork sequence. */
.afhf.afhf--immersive {
  --afhf-hero-header: 144px;
  --afhf-hero-surface: #f6f5f2;
  background: var(--afhf-hero-surface);
}

.afhf--immersive .afhf-pin {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 320px;
  height: calc(100vh - var(--afhf-inset, var(--afhf-hero-header)));
  height: calc(100svh - var(--afhf-inset, var(--afhf-hero-header)));
  background: var(--afhf-hero-surface);
}

.afhf--immersive .afhf-intro {
  position: relative;
  display: grid;
  justify-items: center;
  justify-content: stretch;
  gap: 0;
  text-align: center;
  padding: clamp(19px, 3.2vh, 44px) clamp(20px, 5vw, 90px);
}

.afhf--immersive .afhf-intro h2 {
  font-family: var(--e-global-typography-aa3f9d2-font-family, "Noto Sans TC"), "Microsoft JhengHei", sans-serif;
  font-size: clamp(29px, 4.6vw, 70px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: .025em;
  text-wrap: balance;
}

.afhf--immersive .afhf-intro p {
  max-width: 42em;
  margin: 9px auto 0;
  color: #464646;
  font-size: clamp(13px, 1.15vw, 17px);
  line-height: 1.6;
  letter-spacing: .07em;
  text-wrap: balance;
}

.afhf--immersive .afhf-contact {
  padding: 2px 0 1px;
  margin: 8px 0 0;
  border-color: currentColor;
  font-size: 12px;
  line-height: 1.45;
}

.afhf--immersive .afhf-hero-art {
  position: relative;
  min-height: 0;
  isolation: isolate;
  background: #202020;
}

.afhf.afhf--immersive .afhf-stage,
.afhf.afhf--immersive[data-scroll="active"] .afhf-stage {
  width: 100%;
  height: 100%;
  background: #202020;
}

.afhf--immersive .afhf-poster {
  object-position: 54% 27%;
}

.afhf.afhf--immersive .afhf-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: grid;
  justify-content: start;
  gap: 3px;
  height: auto;
  min-height: 0;
  padding: clamp(24px, 6vh, 58px) clamp(18px, 5vw, 90px) clamp(14px, 2.5vh, 31px);
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 10, 10, .94), rgba(10, 10, 10, .74) 48%, transparent);
  pointer-events: none;
}

.afhf.afhf--immersive .afhf-caption h3,
.afhf.afhf--immersive .afhf-caption p {
  display: block;
  color: inherit;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

.afhf.afhf--immersive .afhf-caption h3 {
  font-size: clamp(17px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: .07em;
}

.afhf.afhf--immersive .afhf-caption p {
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: .07em;
}

.afhf--immersive .afhf-static ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.afhf--immersive .afhf-static figure {
  position: relative;
  background: #202020;
}

.afhf.afhf--immersive .afhf-static figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 3px;
  padding: 32px 16px 13px;
  color: #fff;
  background: linear-gradient(0deg, rgba(10, 10, 10, .94), rgba(10, 10, 10, .74) 49%, transparent);
}

.afhf.afhf--immersive .afhf-static figcaption span {
  color: inherit;
}

.afhf--immersive[data-mode="loading"] .afhf-static {
  display: none;
}

.afhf.afhf--immersive[data-mode="still"] .afhf-runway,
.afhf.afhf--immersive[data-mode="still"] .afhf-pin {
  display: block;
  height: auto;
  min-height: 0;
}

.afhf--immersive[data-mode="still"] .afhf-hero-art {
  display: none;
}

@media (max-width: 767px) {
  .afhf.afhf--immersive {
    --afhf-hero-header: 112px;
  }

  .afhf--immersive .afhf-intro {
    padding: 15px 22px 14px;
  }

  .afhf--immersive .afhf-intro h2 {
    font-size: clamp(25px, 7.4vw, 36px);
  }

  .afhf--immersive .afhf-intro p {
    margin-top: 6px;
  }

  .afhf--immersive .afhf-contact {
    margin-top: 5px;
  }

  .afhf--immersive .afhf-poster {
    object-position: 54% 43%;
  }

  .afhf--immersive .afhf-static ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-height: 460px) and (min-aspect-ratio: 4/3) {
  .afhf--immersive .afhf-pin {
    min-height: 255px;
  }

  .afhf--immersive .afhf-intro {
    padding-block: 8px;
  }

  .afhf--immersive .afhf-intro h2 {
    font-size: 28px;
  }

  .afhf--immersive .afhf-intro p {
    margin-top: 4px;
  }

  .afhf--immersive .afhf-contact {
    margin-top: 4px;
  }
}

.afhf [hidden],
.afhf[hidden] {
  display: none;
}
