/* ===== 合作夥伴 ===== */
/* 長期＝原色大磚、進場由粒子聚成 Logo；過往＝Logo 落雨網格。2026-11-18 本人選定（預覽一的長期＋預覽三的過往） */

.pthero { min-height: 78vh; min-height: 78svh; }
.pthero__copy { align-self: center; }

.pt-sec { padding: clamp(72px, 12vh, 140px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.pt-sec__head { margin-bottom: clamp(32px, 6vh, 64px); }

/* ---------- Logo 磚：兩層，平常單色米白、點亮換原色品牌牌 ---------- */
.pt { position: relative; margin: 0; border-radius: 16px; border: 1px solid var(--bone-faint); background: var(--ink-3); overflow: hidden; isolation: isolate; }
.pt .mono-l, .pt .color-l { position: absolute; inset: 0; display: grid; grid-template: 100% / 100%; place-items: center; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pt .mono-l img { max-width: 72%; max-height: 62%; object-fit: contain; opacity: .86; }
.pt .color-l { background: var(--plate, #fff); opacity: 0; transform: scale(1.04); }
.pt .color-l img { max-width: 80%; max-height: 72%; object-fit: contain; }
.pt.dark-tile .color-l, .pt.dark-tile .mono-l { background: #0f0f12; }
.pt.dark-tile .color-l img, .pt.dark-tile .mono-l img { width: auto; height: auto; max-width: 88%; max-height: 80%; object-fit: contain; border-radius: 10px; }
.pt.dark-tile .color-l img { box-shadow: 0 10px 30px -10px #000, 0 0 0 1px rgba(243, 238, 230, .08); }
.pt.lit .color-l { opacity: 1; transform: none; }
.pt.lit .mono-l { opacity: 0; }
.pt figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; font-size: 12px; letter-spacing: .04em; text-align: center; color: var(--bone); opacity: 0; transition: opacity .3s, transform .3s; }
.pt.lit figcaption { opacity: 1; }
.pt figcaption small { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .08em; color: var(--bone-dim); }

/* ---------- 長期合作夥伴：原色大磚＋粒子聚合 ---------- */
.long-stage { position: relative; }
.lt .pt.dark-tile .color-l { background: var(--plate); }
.lt .pt.dark-tile .color-l img { max-width: 80%; max-height: 72%; border-radius: 0; box-shadow: none; }
.lt-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 20px; }
.lt { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; }
.lt .pt { aspect-ratio: 4 / 3; cursor: default; transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease; }
.lt .pt .color-l { transition: opacity .7s ease, transform .7s ease; }
.lt .pt.pending .color-l, .lt .pt.pending .mono-l { opacity: 0; transform: scale(.97); }
.lt .pt:hover, .lt .pt:focus-visible { outline: none; border-color: rgba(236, 229, 216, .62); box-shadow: 0 0 0 1px rgba(236, 229, 216, .16), 0 0 36px -6px rgba(236, 229, 216, .38); transform: translateY(-2px); }
.lt-cap { margin: 12px 2px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 14px; line-height: 1.5; }
.lt-cap b { font-weight: 500; letter-spacing: .04em; min-width: 0; }
.lt-cap span { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--paper); opacity: .72; }
.lt-particles { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; }

/* ---------- 過往合作夥伴：落雨網格 ---------- */
.pr-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.pr-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--bone-dim); }
.pr-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pr-replay { margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--bone-faint); background: transparent; color: var(--bone); font: 500 14px/1 var(--sans); cursor: pointer; transition: border-color .2s, background .2s, transform .1s; }
.pr-replay:hover { border-color: var(--bone-dim); background: rgba(243, 238, 230, .06); }
.pr-replay:active { transform: translateY(1px); }
.pr-field { position: relative; }
.pr-drizzle { position: absolute; left: 0; top: -40px; width: 100%; height: calc(100% + 40px); pointer-events: none; z-index: 0; }
.pr-grid { position: relative; z-index: 1; }
.pr-grid .pt { position: absolute; z-index: 1; transform-origin: 50% 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .3s, box-shadow .3s; }
.pr-grid.pending .pt { opacity: 0; }
.pr-grid .pt::before { content: ""; position: absolute; top: 10px; left: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gc); opacity: .75; z-index: 3; }
.pr-grid .pt.splash { border-color: var(--gc); }
.pr-grid .pt.lit { z-index: 2; border-color: var(--gc); box-shadow: 0 0 0 1px var(--gc), 0 18px 50px rgba(0, 0, 0, .8); }
.pr-grid .pt:focus-visible { outline: 2px solid var(--gc); outline-offset: 3px; }
/* 點亮時原色牌留出底部名稱條，不蓋住 Logo 下緣文字 */
.pr-grid .pt .color-l { bottom: 38px; }
.pr-grid .pt figcaption { height: 38px; padding: 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--ink-3); line-height: 1.25; }
.pr-ripple { position: absolute; z-index: 0; border: 1px solid var(--gc); border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); animation: prRipple .8s cubic-bezier(.2, .6, .3, 1) forwards; }
@keyframes prRipple { from { width: 14px; height: 4px; opacity: .95; } to { width: var(--rw); height: calc(var(--rw) * .2); opacity: 0; } }

@media (max-width: 1000px) {
  .lt { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 760px) {
  .lt-grid { gap: 22px 12px; }
  .lt { flex-basis: calc((100% - 12px) / 2); }
  .lt-cap { flex-direction: column; gap: 2px; font-size: 13px; }
  .pr-bar { gap: 12px; }
  .pr-replay { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pt .mono-l, .pt .color-l, .lt .pt, .pr-grid .pt { transition: none; }
  .pr-ripple { display: none; }
}
