/* About page. Tokens, nav, footer and sticker tags come from nav.css + landing.css. */

/* ---------- intro: words on the left, a stack of photos you can flip through on the right ---------- */
.ab-hero { max-width: 1280px; margin: 0 auto; box-sizing: border-box; min-height: calc(100svh - 73px); padding: 56px 72px 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 88px; align-items: center; }
.ab-kicker { font-family: var(--mono); font-size: 13px; color: var(--ink-muted); }
.ab-hero h1 { margin: 14px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(52px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.03em; }
.ab-roles { margin: 20px 0 0; font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.ab-copy { margin-top: 32px; max-width: 600px; }
.ab-copy p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: var(--ink-body); }
.ph { padding: 0 4px; border-radius: 4px; background: #fde7ef; color: var(--ask-accent); font-family: var(--mono); font-size: .85em; }

/* the stack: cards fan out behind the top one; drag or click the top card to send it to the back */
.ab-stack { position: relative; width: 400px; height: 520px; margin: 0 auto; touch-action: pan-y; user-select: none; }
.ab-card { position: absolute; inset: 0; margin: 0; padding: 14px 14px 0; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(20,20,40,0.35), 0 2px 6px rgba(20,20,40,0.08);
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)) scale(var(--s, 1)); transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .3s; will-change: transform; }
.ab-card img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 3px; pointer-events: none; }
.ab-card figcaption { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; font-size: 15px; font-weight: 500; }
.ab-card figcaption .sticker-tag { position: static; }
.ab-card.dragging { transition: none; }
.ab-hint { margin-top: 28px; text-align: center; font-size: 14px; color: var(--ink-muted); }
.ab-dots { display: inline-flex; gap: 6px; margin-left: 10px; vertical-align: middle; }
.ab-dots i { width: 6px; height: 6px; border-radius: 50%; background: #d6d4cf; transition: background .3s, width .3s; }
.ab-dots i.on { width: 16px; border-radius: 3px; background: var(--ink); }

/* ---------- polaroids: a slow strip that pauses on hover ---------- */
.ab-more { padding: 56px 0 24px; overflow: hidden; }
.ab-more-head { max-width: 1280px; margin: 0 auto; padding: 0 72px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: baseline; }
.ab-more-head h2 { margin: 0; font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; }
.ab-more-head span { font-size: 15px; color: var(--ink-muted); }
.ab-strip { margin-top: 36px; padding: 24px 0 40px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ab-track { display: flex; gap: 36px; width: max-content; animation: ab-roll 60s linear infinite; }
.ab-strip:hover .ab-track { animation-play-state: paused; }
@keyframes ab-roll { to { transform: translateX(calc(-50% - 18px)); } }
.pol { flex: none; width: 236px; margin: 0; padding: 12px 12px 0; background: #fff; border-radius: 4px; box-shadow: var(--shadow-polaroid);
  transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.34,1.45,.64,1); }
.pol:hover { transform: rotate(0deg) translateY(-8px) scale(1.04); }
.pol img { display: block; width: 100%; height: 252px; object-fit: cover; border-radius: 2px; }
.pol figcaption { height: 54px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--ink); }

@media (max-width: 900px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); padding: 32px 20px 48px; gap: 48px; min-height: 0; }
  .ab-stack { width: 300px; height: 400px; }
  .ab-card img { height: 314px; }
  .ab-more-head { padding: 0 20px; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ab-track { animation: none; } .ab-card, .pol { transition: none; } }
