.details-page {
  min-height: 100vh;
  margin: 0;
  color: #f7f2ea;
  background: #0f0e0d;
  font-family: "Archivo", "Noto Sans TC", -apple-system, "Segoe UI", sans-serif;
  --mx: 0;
  --my: 0;
}

.details-page * {
  box-sizing: border-box;
}

.details-page img {
  display: block;
  max-width: 100%;
}

.details-page a {
  color: inherit;
}

.details-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(70px, 7vh, 90px) clamp(20px, 5vw, 78px) clamp(22px, 3vh, 34px);
  background:
    radial-gradient(circle at calc(78% + var(--mx) * .35px) calc(12% + var(--my) * .35px), rgba(216, 185, 140, .12), transparent 30%),
    linear-gradient(180deg, rgba(15, 14, 13, .96), rgba(12, 11, 10, 1)),
    #0f0e0d;
}

.details-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image:
    linear-gradient(rgba(247, 242, 234, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 234, .1) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.details-kicker,
.detail-topic__index {
  margin: 0 0 18px;
  color: #d8b98c;
  font: 700 10px/1 "Archivo", "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: .24em;
}

.details-hero .details-kicker {
  margin: 0 0 20px;
  padding-top: 0;
}

.details-hero h1 {
  margin: 0;
  color: #fff;
  font: 500 clamp(30px, 2.95vw, 42px)/1.2 "Noto Sans TC", "Archivo", system-ui, sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}

.details-hero__panel-head > p:not(.details-kicker) {
  margin: clamp(18px, 2.5vh, 26px) 0 0;
  color: rgba(247, 242, 234, .72);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .03em;
}

.details-hero__board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(320px, 360px);
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid rgba(247, 242, 234, .14);
  border-bottom: 1px solid rgba(247, 242, 234, .14);
  padding: clamp(12px, 1.6vw, 18px) 0;
}

.details-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: clamp(18px, 2.3vh, 28px);
}

.details-cta,
.details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 0;
  padding: 0 20px;
  border: 1px solid rgba(247, 242, 234, .72);
  color: #f7f2ea;
  background: #0f0e0d;
  font: 600 13px/1 "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.details-text-link {
  color: rgba(247, 242, 234, .76);
  font: 600 13px/1 "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
}

.details-text-link::after {
  display: inline-block;
  margin-left: 9px;
  content: "→";
  transition: transform .2s ease;
}

.details-text-link:hover::after {
  transform: translateX(4px);
}

.details-link {
  margin-left: 10px;
  color: #f7f2ea;
  background: transparent;
}

.details-cta {
  min-width: 128px;
  color: #f7f2ea;
}

.details-cta:hover,
.details-link:hover {
  transform: translateY(-2px);
}

.details-cta:active,
.details-link:active {
  transform: translateY(1px);
}

.details-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(247, 242, 234, .14);
  background: rgba(247, 242, 234, .12);
}

.details-hero__facts div {
  min-height: 72px;
  padding: 14px 12px;
  background: rgba(15, 14, 13, .74);
}

.details-hero__facts strong {
  display: block;
  color: #fff;
  font: 600 clamp(18px, 1.8vw, 28px)/1 "Archivo", "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.details-hero__facts span {
  display: block;
  margin-top: 10px;
  color: rgba(247, 242, 234, .64);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.details-hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: clamp(620px, calc(100dvh - 170px), 760px);
  min-height: 0;
  padding-left: clamp(14px, 2vw, 24px);
  border-left: 1px solid rgba(247, 242, 234, .14);
}

.details-hero__panel-head {
  padding-bottom: clamp(22px, 3vh, 34px);
  border-bottom: 1px solid rgba(247, 242, 234, .14);
}

.details-hero__index {
  display: grid;
  flex: 1;
  align-content: space-evenly;
  padding: clamp(8px, 1.4vh, 16px) 0;
}

.details-hero__index a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: clamp(48px, 5.2vh, 58px);
  border-bottom: 1px solid rgba(247, 242, 234, .12);
  color: rgba(247, 242, 234, .78);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.details-hero__index a:hover {
  color: #fff;
  background: rgba(247, 242, 234, .04);
}

.details-hero__index span,
.details-hero__index small {
  color: rgba(216, 185, 140, .72);
  font: 600 11px/1 "Archivo", system-ui, sans-serif;
  letter-spacing: .08em;
}

.details-hero__media {
  height: clamp(620px, calc(100dvh - 170px), 760px);
  min-height: 0;
}

.details-feature {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #11100e;
  transition: opacity .7s ease, filter .25s ease;
}

.details-feature:first-child {
  width: 100%;
  height: 100%;
}

.details-feature img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: saturate(.86) contrast(1.04);
  transition: transform .6s ease, filter .25s ease;
}

.details-feature::after {
  display: none;
  content: none;
}

.details-feature span {
  position: static;
  display: block;
  width: 100%;
  max-width: 486px;
  margin: 0 auto;
  padding: 12px 0 0;
  color: rgba(247, 242, 234, .86);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-shadow: none;
}

.details-feature:hover img {
  filter: saturate(.96) contrast(1.06);
  transform: none;
}

.details-page:not(.is-ready) .details-hero__panel-head,
.details-page:not(.is-ready) .details-hero__board,
.detail-card:not(.is-visible),
.detail-topic:not(.is-visible) {
  opacity: 0;
  transform: translateY(22px);
}

.details-page:not(.is-ready) .details-feature {
  opacity: 0;
}

.details-page.is-ready .details-hero__panel-head,
.details-page.is-ready .details-hero__board,
.detail-card.is-visible,
.detail-topic.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1);
}

.details-page.is-ready .details-hero__board {
  transition-delay: .08s;
}

.details-page.is-ready .details-feature {
  opacity: 1;
}

.details-page.is-ready .details-feature:nth-child(2) {
  transition-delay: .08s;
}

.details-page.is-ready .details-feature:nth-child(3) {
  transition-delay: .16s;
}

.details-page.is-ready .details-feature:nth-child(4) {
  transition-delay: .24s;
}

.details-intro {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 620px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 78px);
  border-top: 1px solid rgba(247, 242, 234, .14);
  border-bottom: 1px solid rgba(247, 242, 234, .14);
}

.details-intro span {
  display: block;
  color: #fff;
  font: 500 clamp(50px, 8vw, 104px)/.9 "Archivo", system-ui, sans-serif;
  letter-spacing: -.035em;
}

.details-intro p {
  margin: 0;
  color: rgba(247, 242, 234, .72);
  line-height: 1.8;
}

.details-intro div p {
  margin-top: 10px;
  color: #d8b98c;
  font-size: 13px;
  font-weight: 700;
}

.details-grid-section,
.details-topics,
.details-contact {
  padding: clamp(62px, 9vw, 118px) clamp(20px, 5vw, 78px);
}

.details-hero + .details-grid-section {
  padding-top: clamp(22px, 3vw, 42px);
}

.details-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.details-section-head h2,
.details-contact h2 {
  margin: 0;
  color: #fff;
  font: 500 clamp(30px, 4.4vw, 58px)/1.18 "Noto Sans TC", "Archivo", system-ui, sans-serif;
  letter-spacing: 0;
}

.details-section-head p,
.details-contact p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(247, 242, 234, .72);
  line-height: 1.85;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  display: grid;
  min-height: 100%;
  color: #f7f2ea;
  text-decoration: none;
  background: #181613;
  transition: transform .24s ease, background-color .24s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  background: #201d18;
}

.detail-card figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #24211c;
}

.detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.detail-card:hover img {
  transform: scale(1.035);
}

.detail-card__body {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.detail-card__body span,
.detail-card__body small {
  color: #d8b98c;
  font: 700 11px/1 "Archivo", "Noto Sans TC", system-ui, sans-serif;
  letter-spacing: .12em;
}

.detail-card h2 {
  min-height: 3.2em;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.detail-card p {
  margin: 0;
  color: rgba(247, 242, 234, .7);
  font-size: 15px;
  line-height: 1.85;
}

.details-topics {
  display: grid;
  gap: clamp(52px, 8vw, 96px);
  background: #f4f0e8;
  color: #14120f;
}

.detail-topic {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.detail-topic__copy {
  position: sticky;
  top: 112px;
}

.detail-topic__copy h2 {
  margin: 0;
  color: #14120f;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0;
  text-wrap: balance;
}

.detail-topic__hook {
  margin: 18px 0 0;
  color: rgba(20, 18, 15, .7);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}

.detail-topic dl {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.detail-topic dt {
  margin-bottom: 8px;
  color: #8b6f4b;
  font-size: 13px;
  font-weight: 700;
}

.detail-topic dd {
  margin: 0;
  color: rgba(20, 18, 15, .72);
  line-height: 1.9;
}

.detail-topic__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-photo {
  margin: 0;
  background: #fff;
}

.detail-photo:first-child:nth-last-child(1) {
  grid-column: 1 / -1;
}

.detail-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-photo figcaption {
  display: grid;
  padding: 14px 16px 16px;
  color: rgba(20, 18, 15, .72);
  font-size: 13px;
  line-height: 1.55;
}

.details-contact {
  background: #0f0e0d;
}

.details-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.details-footer {
  padding: 32px clamp(20px, 5vw, 78px);
  color: rgba(247, 242, 234, .56);
  background: #0a0908;
  font-size: 12px;
}

.details-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .details-hero__board {
    grid-template-columns: 1fr;
  }

  .details-hero__panel {
    height: auto;
    min-height: auto;
    padding: 20px 0 0;
    border-top: 1px solid rgba(247, 242, 234, .14);
    border-left: 0;
  }

  .details-hero__media {
    height: min(60vh, 560px);
  }

  .details-hero__actions {
    margin-top: 20px;
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .details-hero,
  .details-grid-section,
  .details-topics,
  .details-contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .details-hero {
    min-height: auto;
    padding-top: 82px;
  }

  .details-hero h1 {
    max-width: none;
    font-size: clamp(25px, 7vw, 34px);
  }

  .details-hero__panel {
    display: flex;
    flex-direction: column;
  }

  .details-hero__panel-head {
    order: -1;
    padding-bottom: 18px;
  }

  .details-hero__board {
    padding-top: 14px;
  }

  .details-hero__facts,
  .details-intro,
  .detail-topic,
  .detail-topic__gallery,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .details-hero__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    min-height: auto;
  }

  .details-hero__facts {
    width: 100%;
    max-width: none;
  }

  .details-feature,
  .details-feature:first-child,
  .details-feature:nth-child(2),
  .details-feature:nth-child(3),
  .details-feature:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: auto;
    height: min(58vh, 430px);
    min-height: 0;
  }

  .details-feature:first-child {
    grid-column: 1 / -1;
  }

  .details-feature span {
    max-width: none;
    text-align: center;
  }

  .details-hero__index a {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .details-hero__index small {
    display: none;
  }

  .details-intro {
    align-items: start;
  }

  .detail-topic__copy {
    position: static;
  }

  .detail-card h2 {
    min-height: 0;
  }

  .details-link {
    margin-left: 0;
  }

  .details-hero__actions {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .details-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .details-page:not(.is-ready) .details-hero__panel-head,
  .details-page:not(.is-ready) .details-hero__board,
  .details-page:not(.is-ready) .details-feature,
  .detail-card:not(.is-visible),
  .detail-topic:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
