/* ==========================================================================
   Real work — the ABS catalogue in print (all rules scoped to .rw-*)
   Real 3D book mockups and featured authors: book table, author spreads,
   catalogue strip. Visible without JS; reveals only soften, never hide.
   ========================================================================== */
.rw-label { margin: 0 0 12px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze-ink); }
.rw-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 24px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze-ink); }
.rw-eyebrow span { width: 40px; height: 1px; background: currentColor; }
.rw-h2 { margin: 0; font-family: var(--font-display); font-weight: 270; font-size: clamp(2.6rem, 1.1rem + 4.2vw, 5.8rem); line-height: 0.94; letter-spacing: -0.05em; color: var(--ink); }
.rw-h2 span, .rw-h2 em { display: block; }
.rw-h2 em { font-style: italic; color: var(--bronze-ink); padding-bottom: 0.05em; }
.rw-lead { margin: 0; max-width: 46ch; font-size: clamp(1rem, 0.96rem + 0.25vw, 1.14rem); line-height: 1.75; color: var(--on-light-2); }
.rw-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--bronze); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.rw-link svg { width: 16px; height: 16px; transition: transform 0.6s var(--ease-out); }
.rw-link:hover svg, .rw-link:focus-visible svg { transform: translateX(5px); }

/* ---------- One physical book ---------- */
.rw-book { position: relative; display: inline-flex; flex-direction: column; align-items: center; flex: none; color: inherit; text-decoration: none; outline: none; }
.rw-book__obj { position: relative; display: block; width: calc(var(--bw, 200px) * var(--s, 1)); transition: transform 0.9s var(--ease-out); }
.rw-book__img { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(10px 18px 18px rgba(28, 18, 8, 0.28)) drop-shadow(2px 3px 3px rgba(28, 18, 8, 0.18)); transition: filter 0.9s var(--ease-out); }
.rw-book__floor { position: absolute; z-index: 0; left: 4%; right: -10%; bottom: -3%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(24, 16, 8, 0.42), transparent); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.rw-book:hover .rw-book__obj, .rw-book:focus-visible .rw-book__obj { transform: translateY(-10px) scale(1.035); }
.rw-book:hover .rw-book__img, .rw-book:focus-visible .rw-book__img { filter: drop-shadow(16px 30px 26px rgba(28, 18, 8, 0.34)) drop-shadow(2px 4px 4px rgba(28, 18, 8, 0.2)); }
.rw-book:hover .rw-book__floor, .rw-book:focus-visible .rw-book__floor { opacity: 0.6; transform: scale(0.94) translateY(8px); }
.rw-book:focus-visible .rw-book__obj { outline: 2px solid var(--bronze); outline-offset: 8px; }
.rw-cap { display: grid; gap: 3px; margin-top: 18px; max-width: calc(var(--bw, 200px) * var(--s, 1) + 40px); text-align: center; opacity: 0; transform: translateY(-6px); transition: opacity 0.5s, transform 0.6s var(--ease-out); pointer-events: none; }
.rw-book:hover .rw-cap, .rw-book:focus-visible .rw-cap { opacity: 1; transform: none; }
.rw-cap__t { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; color: var(--ink); }
.rw-cap__s { font-family: var(--font-display); font-style: italic; font-size: 0.82rem; line-height: 1.3; color: var(--on-light-2); }
.rw-cap__a { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-ink); }
.rw-cap__go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.rw-cap__go svg { width: 13px; height: 13px; }

/* ---------- The book table ---------- */
.rw-now__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; min-width: 0; }

/* ---------- Homepage: Selected work (dark gallery) ---------- */

/* ---------- Author spreads ---------- */
.rw-spread { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.12fr) minmax(0, 0.9fr); grid-template-areas: "num num num" "photo head books" "photo body books"; grid-template-rows: auto auto 1fr; gap: 0 clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid rgba(21, 23, 28, 0.2); }
.rw-spread.is-rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.12fr) minmax(0, 0.78fr); grid-template-areas: "num num num" "books head photo" "books body photo"; }
.rw-spread__num { grid-area: num; display: flex; align-items: baseline; gap: 14px; margin-bottom: clamp(24px, 3vw, 40px); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-light-3); }
.rw-spread__num span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 1.4rem + 1.6vw, 3.2rem); letter-spacing: -0.03em; color: var(--bronze-ink); }
.rw-spread__photo { grid-area: photo; margin: 0; align-self: start; position: relative; }
.rw-spread__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.88) contrast(1.02); box-shadow: 0 40px 70px -50px rgba(40, 26, 10, 0.8); }
.rw-spread__photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(250, 247, 241, 0.28); pointer-events: none; }
.rw-spread__head { grid-area: head; }
.rw-spread__name { margin: 0; font-family: var(--font-display); font-weight: 290; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.5rem); line-height: 0.98; letter-spacing: -0.04em; color: var(--ink); }
.rw-spread__genre { margin: 14px 0 0; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--on-light-2); }
.rw-spread__body { grid-area: body; margin-top: 26px; }
.rw-spread__of { padding: 16px 0; border-top: 1px solid rgba(21, 23, 28, 0.14); border-bottom: 1px solid rgba(21, 23, 28, 0.14); }
.rw-spread__of .rw-label { margin-bottom: 8px; }
.rw-spread__of ul { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.35; color: var(--ink); }
.rw-spread__of li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--bronze); }
.rw-spread__bio { margin: 20px 0 0; max-width: 54ch; font-size: 0.98rem; line-height: 1.78; color: var(--on-light-2); }
.rw-spread .rw-link { margin-top: 28px; }
.rw-spread__books { grid-area: books; position: relative; display: flex; justify-content: center; align-items: flex-end; align-self: center; --bw: min(19vw, 250px); padding: 20px 0 40px; }
.rw-spread__books::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.6), transparent); }
.rw-spread__lead { z-index: 3; }
.rw-spread__minor { --s: 0.62; z-index: 1; margin-left: calc(var(--bw) * -0.18); }
.rw-spread__minor + .rw-spread__minor { --s: 0.52; z-index: 0; }
.rw-spread__books .rw-cap { position: absolute; top: 100%; left: 50%; width: max-content; max-width: 220px; transform: translate(-50%, -6px); }
.rw-spread__books .rw-book:hover .rw-cap, .rw-spread__books .rw-book:focus-visible .rw-cap { transform: translate(-50%, 0); }
.rw-spread__books--type { display: block; align-self: start; padding: 26px 0 0; border-top: 2px solid var(--ink); }
.rw-spread__books--type::after { display: none; }
.rw-spread__books--type ol { margin: 0; padding: 0; list-style: none; }
.rw-spread__books--type li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-bottom: 1px solid rgba(21, 23, 28, 0.14); font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.rw-spread__books--type li span { font-style: italic; font-size: 0.8rem; color: var(--bronze-ink); padding-top: 4px; }

/* ---------- Homepage: Featured authors ---------- */
.rw-authors { padding: clamp(96px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); background: var(--paper); }

/* ---------- Catalogue strip ---------- */

/* ---------- Small row: About / Contact ---------- */

/* ---------- Book Promotion: real spotlight posts ---------- */

/* ---------- Reveals ---------- */
.rw-motion .rw-rv { opacity: 0.3; translate: 0 24px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); }
.rw-motion .rw-rv.is-in { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .rw-spread, .rw-spread.is-rev { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "num num" "photo head" "photo body" "books books"; }
  .rw-spread__books { --bw: min(30vw, 250px); margin-top: 30px; }
  .rw-spread__books--type { margin-top: 30px; }
}
@media (max-width: 760px) {
  .rw-spread, .rw-spread.is-rev { grid-template-columns: minmax(0, 1fr); grid-template-areas: "num" "photo" "head" "books" "body"; }
  .rw-spread__photo { width: min(78%, 340px); }
  .rw-spread__head { margin-top: 26px; }
  .rw-spread__books { --bw: 52vw; margin-top: 20px; padding-bottom: 70px; }
  .rw-spread__books .rw-cap { display: none; }
  .rw-spread__minor { --s: 0.56; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-book__obj, .rw-book__img, .rw-cap { transition: none; }
}
.rw-spread__books .rw-spread__minor .rw-cap { left: auto; right: 0; text-align: right; transform: translateY(-6px); }
.rw-spread__books .rw-spread__minor:hover .rw-cap, .rw-spread__books .rw-spread__minor:focus-visible .rw-cap { transform: none; }

/* ==========================================================================
   Featured Authors page (.page-authors): masthead, author index, closing CTA.
   The author spreads themselves are the shared .rw-spread components above.
   ========================================================================== */
.page-authors { background: var(--ivory); }
.page-authors main { overflow-x: clip; }
.fa-mast { padding: 150px 0 clamp(50px, 6vw, 90px); background: var(--ivory); }
.fa-crumbs { margin-bottom: 30px; }
.fa-crumbs ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.76rem; }
.fa-crumbs li { display: inline-flex; gap: 6px; color: var(--on-light-3); }
.fa-crumbs li + li::before { content: "/"; color: rgba(21, 23, 28, 0.3); }
.fa-crumbs a { color: var(--on-light-2); text-decoration: none; }
.fa-crumbs [aria-current] { color: var(--bronze-ink); }
.fa-rule { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin-bottom: clamp(40px, 5vw, 70px); border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(21, 23, 28, 0.2); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); }
.fa-rule i { font-style: normal; color: var(--bronze); margin: 0 6px; }
.fa-mast__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(40px, 5vw, 80px); align-items: center; }
.fa-mast__copy { display: grid; gap: 26px; justify-items: start; }
.fa-mast__copy .rw-eyebrow { margin: 0; }
.fa-title { margin: 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(3rem, 1rem + 5.6vw, 7.8rem); line-height: 0.92; letter-spacing: -0.055em; color: var(--ink); }
.fa-title span, .fa-title em { display: block; }
.fa-title em { font-style: italic; color: var(--bronze-ink); padding-bottom: 0.06em; }
.fa-jump { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fa-jump a { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid rgba(176, 141, 87, 0.6); }
.fa-jump a:hover, .fa-jump a:focus-visible { color: var(--bronze-ink); }
/* text-led masthead: the copy keeps its place and width; the right side is open space */
.fa-mast__grid { padding: clamp(60px, 7vw, 100px) 0 clamp(30px, 4vw, 60px); }

.fa-authors { padding-top: clamp(40px, 5vw, 70px); }
.fa-authors .rw-spread { scroll-margin-top: 90px; }

.fa-index { padding: clamp(90px, 10vw, 140px) 0; background: var(--ivory); }
.fa-index__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 6vw, 100px); align-items: start; }
.fa-index__head { position: sticky; top: 110px; }
.fa-index__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(21, 23, 28, 0.22); }
.fa-index__list li { border-bottom: 1px solid rgba(21, 23, 28, 0.12); }
.fa-index__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; grid-template-areas: "n name go" "n books go"; gap: 4px 16px; align-items: baseline; padding: 20px 4px; color: var(--ink); text-decoration: none; transition: background 0.4s, padding 0.5s var(--ease-out); }
.fa-index__row:hover, .fa-index__row:focus-visible { background: rgba(255, 255, 255, 0.55); padding-left: 14px; }
.fa-index__n { grid-area: n; font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--bronze-ink); }
.fa-index__name { grid-area: name; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; }
.fa-index__books { grid-area: books; font-size: 0.82rem; line-height: 1.5; color: var(--on-light-3); }
.fa-index__go { grid-area: go; align-self: center; color: var(--bronze); }
.fa-index__go svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease-out); }
.fa-index__row:hover .fa-index__go svg { transform: translateX(4px); }
.fa-also { margin-top: 40px; padding: 24px 0 0; border-top: 2px solid var(--ink); }
.fa-also__t { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
.fa-also__t i { font-style: normal; color: var(--bronze); margin: 0 6px; }
.fa-also__txt { margin: 10px 0 0; max-width: 56ch; font-size: 0.95rem; line-height: 1.7; color: var(--on-light-2); }
.fa-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

@media (max-width: 900px) {
  .fa-mast__grid, .fa-index__grid { grid-template-columns: minmax(0, 1fr); }
  .fa-mast__grid { padding: 0; }
  .fa-index__head { position: static; }
}
@media (max-width: 640px) {
  .fa-mast { padding-top: 120px; }
  .fa-rule span:nth-child(2) { display: none; }
}
