
.fan-section { --p: 1; padding-top: 96px; padding-bottom: 84px; }
.fan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  grid-template-areas: "deck head" "deck panel";
  column-gap: clamp(30px, 4vw, 64px);
  row-gap: 24px;
  align-items: start;
}
.fan-head { grid-area: head; }
.fan-head h1 {
  margin: 18px 0 20px;
  line-height: 1.02;
  font-size: clamp(40px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.fan-head .lede { max-width: 44ch; font-size: 15px; line-height: 1.8; }
.fan-head .doc-meta { margin-top: 20px; }

.fan-deck {
  grid-area: deck;
  position: relative;
  height: 560px;
  --p: .18;
}
.fan-card {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: 235px;
  height: 322px;
  margin-left: -117px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(216,178,115,.34);
  border-radius: 12px;
  background: linear-gradient(180deg, #15130f, #0b0b0d 58%);
  box-shadow: 0 26px 60px rgba(0,0,0,.55);
  text-decoration: none;
  color: var(--ink);
  transform: none;
  transform-origin: 50% 118%;
  transition: transform .55s var(--ease), border-color .3s, box-shadow .3s;
  will-change: transform;
}
.fan-card:nth-child(1) { --tx: -228px; --ty: 42px; --r: -15deg; z-index: 1; }
.fan-card:nth-child(2) { --tx: -115px; --ty: 16px; --r: -7.5deg; z-index: 2; }
.fan-card:nth-child(3) { --tx: 0px;    --ty: 0px;  --r: 0deg;   z-index: 3; }
.fan-card:nth-child(4) { --tx: 115px;  --ty: 16px; --r: 7.5deg; z-index: 4; }
.fan-card:nth-child(5) { --tx: 228px;  --ty: 42px; --r: 15deg;  z-index: 5; }

.fan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent 30%, rgba(0,0,0,.18));
  pointer-events: none;
}
.fan-card:hover,
.fan-card:focus-visible,
.fan-card.is-hot {
  transform: none;
  border-color: rgba(216,178,115,.7);
  box-shadow: 0 34px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(216,178,115,.16);
  z-index: 20;
  outline: none;
}
.fc-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(216,178,115,.14);
  background: rgba(255,255,255,.025);
  flex: 0 0 auto;
}
.fc-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(216,178,115,.34); }
.fc-bar b { margin-left: 6px; font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.fc-bar em { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--gold-dim); font-style: normal; }
.fc-shot { flex: 1; min-height: 0; overflow: hidden; }
.fan-card.is-hot .fc-shot img { filter: brightness(1.24) contrast(1.05); }
.fc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(1.14) contrast(1.03); }
.fc-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 13px 12px;
  border-top: 1px solid rgba(216,178,115,.12);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--dim);
}
.fc-meta b { font-size: 18px; color: var(--gold); letter-spacing: 0; }

.fan-swipe { display: none; }
.fan-panel {
  grid-area: panel;
  position: relative;
  z-index: 30;
  align-self: start;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(216,178,115,.07), transparent 55%),
    rgba(8, 8, 10, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.fp-kicker { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold-dim); }
.fan-panel h2 { margin: 0 0 10px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.fp-fx { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.fp-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; }
.fp-list li { font-size: 12.5px; color: var(--dim); }
.fp-list li::before { content: "·"; color: var(--gold); margin-right: 8px; }
.fp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(216,178,115,.55);
  border-radius: 999px;
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
}
.fp-cta:hover { background: rgba(216,178,115,.08); }
.fp-hint { margin: 12px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--dim); }

@media (max-width: 1080px) {
  .fan-layout { grid-template-columns: 1fr; grid-template-areas: "head" "deck" "panel"; }
  .fan-deck { height: 500px; }
  .fan-card { width: 230px; height: 310px; margin-left: -115px; }
}
@media (max-width: 700px) {
  .fan-section { padding-top: 74px; padding-bottom: 60px; }
  .fan-swipe { display: block; margin: 18px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--dim); }
  .fan-head h1 { font-size: clamp(34px, 9vw, 46px); }
  .fan-deck { height: auto; display: flex; gap: 12px; overflow-x: auto; padding: 8px 0 18px; scroll-snap-type: x mandatory; }
  .fan-card {
    position: relative;
    left: auto; bottom: auto; margin: 0;
    flex: 0 0 224px; width: 224px; height: 300px;
    transform: none;
    scroll-snap-align: center;
  }
  .fan-card:first-child { margin-left: 0; }
  .fan-card:hover, .fan-card:focus-visible, .fan-card.is-hot { transform: translateY(-10px); }
  .fan-panel { padding-top: 16px; }
  .fan-panel h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .fan-card { transition: none; }
}
.fc-meta { display: none; }


.fan-usage { margin: 14px 0 0; }
.fan-usage a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(216,178,115,.34);
  font-size: 12.5px;
  color: var(--gold);
}
.fan-usage a span { transition: transform .2s var(--ease); }
.fan-usage a:hover span { transform: translateX(3px); }
