/* Collection hero (pulse-chero.js), on Home and the Collection page: your most valuable pieces fanned out like a hand
   of cards, lit by the glow of the best one, with what it is all worth and how it moved. */
.c-hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: var(--sp-5); min-height: 520px; padding: clamp(20px, 4vw, 48px); border-radius: 30px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.c-glow { position: absolute; z-index: -1; inset: -25%; background-size: cover; background-position: center; filter: blur(90px) saturate(1.7); opacity: .42; }
.c-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, transparent 30%, color-mix(in srgb, var(--surface) 80%, transparent)); }
.c-fan { --rx: 0deg; --ry: 0deg; position: relative; height: 400px; perspective: 1400px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s var(--ease-out); }
.c-card { --i: 0; --a: 0; position: absolute; left: 50%; bottom: 18px; z-index: var(--z); width: clamp(130px, 15vw, 190px); aspect-ratio: 200 / 279; transform: translateX(-50%) translateX(calc(var(--i) * clamp(52px, 6vw, 84px))) translateY(calc(var(--a) * var(--a) * 10px)) rotate(calc(var(--i) * 8deg)); transform-origin: 50% 110%;
  border-radius: 12px; box-shadow: 0 30px 60px -20px #000c, 0 0 0 1px #fff2; transition: transform .45s var(--ease-out), box-shadow .3s; animation: c-in .9s var(--ease-out) both; animation-delay: calc(var(--a) * 90ms); }
.c-card img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.c-card.box { aspect-ratio: 1; background: #fff; padding: 10px; box-sizing: border-box; } .c-card.box img { object-fit: contain; border-radius: 6px; }
.c-card:hover { transform: translateX(-50%) translateX(calc(var(--i) * clamp(52px, 6vw, 84px))) translateY(calc(var(--a) * var(--a) * 10px - 22px)) rotate(calc(var(--i) * 8deg)); box-shadow: 0 40px 80px -20px #000e, 0 0 0 2px #fff6; z-index: 20; }
@keyframes c-in { from { transform: translateX(-50%) translateY(40px) rotate(0) scale(.9); opacity: 0; } }
.c-ghost span { position: absolute; left: 50%; bottom: 20px; width: 150px; aspect-ratio: 200 / 279; border-radius: 12px; border: 2px dashed var(--line); transform: translateX(-50%) translateX(calc(var(--i) * 60px)) rotate(calc(var(--i) * 8deg)); transform-origin: 50% 110%; }
.c-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.c-eye { font: 700 11px var(--f-big); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.c-copy h1 b { display: block; font: 700 clamp(52px, 8vw, 104px)/.9 var(--f-big); letter-spacing: -.06em; }
.c-empty .c-copy h1 { font: 700 clamp(32px, 5vw, 52px)/1.05 var(--f-big); letter-spacing: -.03em; }
.c-moves { display: flex; gap: 8px; flex-wrap: wrap; } .c-moves span { padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--deep) 55%, transparent); font-size: 13px; color: var(--mute); } .c-moves b { font: 700 16px var(--f-big); margin-right: 4px; } .c-moves .up b { color: var(--buy); } .c-moves .dn b { color: #FF8A7A; } .c-moves span.up, .c-moves span.dn { color: var(--mute); }
.c-sub { font-size: 16px; color: var(--mute); line-height: 1.5; } .c-sub a { color: var(--text); font-weight: 600; }
.c-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.c-btn { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 16px; background: var(--text); color: var(--deep); font-weight: 700; font-size: 15px; text-decoration: none; transition: filter var(--dur-2), transform var(--dur-1); }
.c-btn.ghost { background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); } .c-btn:hover { filter: brightness(1.1); } .c-btn:active { transform: scale(.97); } .c-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (max-width: 860px) {
  .c-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 12px; } .c-hero::after { background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--surface) 80%, transparent)); }
  .c-fan { height: 300px; } .c-card { width: 128px; } .c-copy { align-items: center; } .c-moves, .c-acts { justify-content: center; } .c-btn { flex: 1 1 auto; }
}
@media (max-width: 860px) { .c-card { bottom: 64px; } .c-fan { height: 300px; margin-bottom: -20px; } }
@media (min-width: 861px) { .c-fan { height: 440px; } .c-card { bottom: calc(50% - 150px); width: clamp(150px, 16vw, 210px); } .c-card.box { width: clamp(170px, 18vw, 230px); } }
.c-card.box:has(img[src^="img/p/"]) { background: none; padding: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.c-card.box img[src^="img/p/"] { object-fit: contain; object-position: center bottom; border-radius: 0; filter: drop-shadow(0 24px 26px #000b) drop-shadow(0 0 1px #0008); }
.c-card.box:has(img[src^="img/p/"]):hover { box-shadow: none; }
.c-copy { position: relative; z-index: 30; } .c-fan { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .c-card { animation: none !important; } .c-fan { transform: none; } }
/* on the Collection page, the hero leads into the Binder | Portfolio switch */
#page > .c-hero + .cp-top { margin-top: calc(var(--sp-3) - 32px); }   /* the page column already spaces sections */
.c-since { margin: 0; font-size: 14px; color: var(--mute); } .c-since b { font: 700 15px var(--f-big); margin-right: 4px; } .c-since.up b { color: var(--buy); } .c-since.dn b { color: #FF8A7A; }
