/* Author: the two real covers in a layered composition, a typeset 2012 card, and the gold baton line
   drawing through all three books as you scroll. No author photo exists, so none is shown. */
.author { padding: clamp(80px, 8vw, 120px) 0; overflow: clip; }
.author::after {
  /* a faint gold arc behind the composition, the cover's baton sweep in the paper world */
  content: ''; position: absolute; left: -12vw; top: 8%; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  border-radius: 50%; border: 1px solid rgba(184, 135, 58, .16); pointer-events: none;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 60%); mask: linear-gradient(180deg, #000 0%, transparent 60%);
}
.author__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: center;
}

/* the stage: fixed 640 x 600 proportions so the SVG line and the covers stay registered */
.author__stage {
  --stage-h: min(70vh, 600px);
  position: relative; margin: 0; justify-self: center;
  width: min(100%, calc(var(--stage-h) * 640 / 600)); aspect-ratio: 640 / 600;
  perspective: 1400px;
}
.author__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.author__slot { position: absolute; transform-style: preserve-3d; }
.author__slot--rn { left: 4%; top: 6%; width: 45%; transform: rotate(-4deg); }
.author__slot--oc { left: 41%; top: 13%; width: 49%; transform: rotate(2.5deg); }
.author__slot--2012 { left: 0; top: 80%; width: 38%; }
.author__par, .author__float { position: relative; transform-style: preserve-3d; }

.author__frame {
  position: absolute; inset: 0; transform: translate(14px, 14px);
  border: 1px solid var(--gold-deep); pointer-events: none;
}
.author__slot--rn .author__frame { transform: translate(-14px, 14px); }
.author__reveal {
  position: relative; overflow: clip;
  box-shadow: 0 30px 60px -20px rgba(24, 32, 47, .45), 0 10px 22px -12px rgba(24, 32, 47, .35);
}
.author__reveal img { width: 100%; height: auto; }
.author__sweep {
  position: absolute; inset: -10% auto -10% 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 236, 196, .0) 20%, rgba(255, 236, 196, .38) 50%, rgba(255, 236, 196, 0) 80%, transparent 100%);
  transform: translateX(-140%) skewX(-12deg); mix-blend-mode: screen;
}
.author__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(60% 45% at var(--gx, 50%) var(--gy, 30%), rgba(255, 244, 220, .32), transparent 70%);
  mix-blend-mode: soft-light;
}
.author__stage.is-pointer .author__glare { opacity: 1; }

/* 2012: set in type, framed like a library card, because no cover image of that book is available */
.author__card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px 16px 20px; background: var(--white);
  border: 1px solid rgba(184, 135, 58, .55); box-shadow: 0 18px 34px -18px rgba(24, 32, 47, .4);
}
.author__card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold-deep); }
.author__card-year { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.author__card-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(.875rem, 1.05vw, 1.1rem); line-height: 1.25; color: var(--ink); }

/* the baton line */
.author__thread { position: absolute; inset: 0; pointer-events: none; transform: translateZ(70px); }
.author__thread svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.author__thread path { fill: none; stroke-linecap: round; }
.author__thread-pulse { filter: drop-shadow(0 0 5px rgba(255, 236, 196, .95)); }
.author__thread-ghost { stroke: rgba(184, 135, 58, .28); stroke-width: 1; stroke-dasharray: 2 6; }
.author__thread-line { stroke: var(--gold); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(226, 176, 98, .75)); }
.author__stop { position: absolute; width: 0; height: 0; }
.author__stop--a { left: 27.5%; top: 78.33%; }
.author__stop--b { left: 6.25%; top: 38.67%; }
.author__stop--c { left: 93.75%; top: 53%; }
.author__stop i {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px;
  background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(243, 236, 221, .9), 0 0 18px rgba(226, 176, 98, .9);
}
.author__stop em {
  position: absolute; white-space: nowrap; font-style: normal; font-family: var(--f-body); font-weight: 600; font-size: .9rem;
  color: var(--ink); background: var(--white); padding: 4px 10px; border: 1px solid rgba(184, 135, 58, .5);
}
.author__stop--b em { left: 16px; top: 12px; }
.author__stop--c em { left: 20px; top: -15px; }

/* copy */
.author__copy { display: flex; flex-direction: column; gap: 22px; }
.author__title em { white-space: nowrap; }
.author__lede { color: var(--ink); }
.author__body { color: var(--ink-soft); font-size: 1.0625rem; }
.author__sign { display: flex; align-items: center; gap: 16px; padding-top: 6px; }
.author__sign::before { content: ''; width: 46px; height: 1px; background: var(--gold-deep); }
.author__name { white-space: nowrap; font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-size: 1.05rem; }
.author__role { font-size: .98rem; color: var(--ink-soft); }
.author__ctas { padding-top: 4px; }

@media (max-width: 980px) {
  .author__grid { grid-template-columns: 1fr; gap: 0; }
  .author__copy { display: contents; }
  .author__title { order: 1; }
  .author__stage { --stage-h: min(62vh, 520px); order: 2; margin: 40px 0 96px; }
  .author__lede { order: 3; }
  .author__body { order: 4; margin-top: 18px; }
  .author__sign { order: 5; margin-top: 18px; }
  .author__ctas { order: 6; margin-top: 22px; }
}
@media (max-width: 600px) {
  .author__stop em { font-size: .875rem; padding: 3px 8px; }
  .author__stop--b em { left: 12px; top: 10px; }
  .author__slot--2012 { top: 74%; }
  .author__stage { margin-bottom: 76px; }
  .author__stop--c em { left: auto; right: -6px; top: 16px; }
  .author__card { padding: 10px 12px 10px 14px; }
  .author__card-title { font-size: .875rem; }
  .author__slot--2012 { width: 50%; }
  .author__frame { transform: translate(8px, 8px); }
  .author__slot--rn .author__frame { transform: translate(-8px, 8px); }
}
