/* ==========================================================================
   Americas Book Service — About page
   A publishing house, told as an editorial spread: ivory, charcoal, bronze,
   Fraunces + Manrope, a few strong photographs. Page styles prefixed .ab-.
   Loads after abs-design-system.css + home.css. Visible without JS.
   ========================================================================== */
.page-about { --ab-cream: #f2ece2; --ab-paper: #fbf8f2; background: var(--ivory); }
.page-about main { overflow-x: clip; }

/* ---------- shared ---------- */
.ab-label { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 clamp(36px, 4vw, 56px); padding-bottom: 16px; border-bottom: 1px solid rgba(21, 23, 28, 0.16); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-light-3); }
.ab-label span { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1rem; letter-spacing: 0; color: var(--bronze-ink); }
.ab-label i { font-style: normal; color: var(--bronze); }
.ab-label b { margin-left: auto; font-weight: 700; color: var(--bronze-ink); }
.ab-eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bronze-ink); }
.ab-eyebrow span { width: 40px; height: 1px; background: currentColor; }
.ab-eyebrow--light { color: var(--bronze-2); }
.ab-h2 { margin: 0; font-family: var(--font-display); font-weight: 280; font-size: clamp(2.7rem, 1.2rem + 4vw, 5.6rem); line-height: 0.96; letter-spacing: -0.046em; color: var(--ink); text-wrap: balance; }
.ab-h2 em { font-style: italic; color: var(--bronze-ink); }
.ab-body { margin: 24px 0 0; max-width: 48ch; font-size: clamp(1rem, 0.96rem + 0.22vw, 1.12rem); line-height: 1.78; color: var(--on-light-2); }
.ab-cta__btns .btn { border-radius: 999px; }

/* ---------- HERO ---------- */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; padding: 170px 0 clamp(70px, 8vw, 110px); background: var(--ivory); }
.ab-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ab-hero__img { position: absolute; inset: -40px; background: #d8ccb8 var(--img) 50% 40% / cover no-repeat; opacity: 0.34; filter: blur(4px) saturate(0.85) sepia(0.12); }
.ab-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 242, 234, 0.96) 0%, rgba(246, 242, 234, 0.82) 45%, rgba(246, 242, 234, 0.45) 100%), linear-gradient(180deg, rgba(246, 242, 234, 0.5) 0%, transparent 30%, transparent 70%, var(--ivory) 100%); }
.ab-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.ab-crumbs { position: absolute; top: -64px; left: var(--gutter); }
.ab-crumbs ol { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.76rem; }
.ab-crumbs li { display: inline-flex; gap: 6px; color: var(--on-light-3); }
.ab-crumbs li + li::before { content: "/"; color: rgba(21, 23, 28, 0.3); }
.ab-crumbs a { color: var(--on-light-2); text-decoration: none; }
.ab-crumbs [aria-current] { color: var(--bronze-ink); }
.ab-hero__copy { display: grid; justify-items: start; gap: 30px; }
.ab-hero__title { margin: 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(3.6rem, 1.2rem + 7vw, 9.4rem); line-height: 0.88; letter-spacing: -0.056em; color: var(--ink); }
.ab-hero__title span, .ab-hero__title em { display: block; }
.ab-hero__title em { font-style: italic; font-weight: 280; color: var(--bronze-ink); padding-bottom: 0.06em; }
.ab-hero__lead { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); line-height: 1.76; color: var(--on-light-2); }
.ab-hero__more { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; 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; }
.ab-hero__more svg { width: 14px; height: 14px; transition: transform 0.6s var(--ease-out); }
.ab-hero__more:hover svg { transform: translateY(3px); }
.ab-hero__fig { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.ab-hero__fig img { display: block; width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; box-shadow: 0 60px 90px -56px rgba(40, 26, 10, 0.75), 0 10px 20px -14px rgba(40, 26, 10, 0.35); }
.ab-hero__fig::before { content: ""; position: absolute; inset: 14px -14px 50px 14px; z-index: -1; border: 1px solid rgba(154, 118, 70, 0.45); }
.ab-hero__fig figcaption { display: flex; gap: 16px; align-items: baseline; margin-top: 28px; font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--on-light-2); }
.ab-hero__fig figcaption span { font-family: var(--font-sans); font-style: normal; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-ink); }

/* ---------- 01 WHO WE ARE — large image + caption + text ---------- */
.ab-who { padding: clamp(80px, 9vw, 130px) 0 clamp(90px, 10vw, 140px); background: var(--ivory); }
.ab-who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ab-who__fig { margin: 0; }
.ab-who__fig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 60px 90px -60px rgba(40, 26, 10, 0.7); }
.ab-who__fig figcaption { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(21, 23, 28, 0.16); }
.ab-meta { font-family: var(--font-display); font-style: italic; font-size: 0.92rem; color: var(--on-light-2); }
.ab-meta b { margin-right: 10px; font-family: var(--font-sans); font-style: normal; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze-ink); }
.ab-meta--r { font-family: var(--font-sans); font-style: normal; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-light-3); }
.ab-who__copy { display: grid; gap: 26px; padding-top: clamp(0px, 4vw, 60px); }
.ab-statement { margin: 0; font-family: var(--font-display); font-weight: 280; font-size: clamp(2.5rem, 1.2rem + 3.2vw, 4.8rem); line-height: 0.98; letter-spacing: -0.045em; color: var(--ink); }
.ab-statement span, .ab-statement em { display: block; }
.ab-statement em { margin-top: 0.12em; font-style: italic; color: var(--bronze-ink); }
.ab-who__copy p { margin: 0 0 14px; max-width: 50ch; font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem); line-height: 1.8; color: var(--on-light-2); }
.ab-who__copy .ab-who__first { margin: 0; font-family: var(--font-display); font-weight: 320; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); line-height: 1.42; letter-spacing: -0.012em; color: var(--ink); }
.ab-who__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 6px 0 0; padding-top: 22px; border-top: 1px solid rgba(21, 23, 28, 0.16); }
.ab-who__facts dt { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-light-3); }
.ab-who__facts dd { margin: 8px 0 0; font-family: var(--font-display); font-size: 1rem; line-height: 1.35; color: var(--ink); }
.ab-who__facts a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(154, 118, 70, 0.5); }

/* ---------- Statement ---------- */
.ab-state { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 11vw, 160px) 0 clamp(70px, 7vw, 100px); background: var(--ab-cream); }
.ab-state__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ab-state__img { position: absolute; inset: -60px; background: #d4c6ae var(--img) 50% 50% / cover no-repeat; opacity: 0.28; filter: blur(4px) saturate(0.8) sepia(0.15); }
.ab-state__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ivory) 0%, rgba(242, 236, 226, 0.55) 22%, rgba(242, 236, 226, 0.55) 78%, var(--ab-cream) 100%); }
.ab-state__inner { display: grid; justify-items: start; }
.ab-state__title { margin: 28px 0 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(2.9rem, 0.9rem + 6vw, 8.4rem); line-height: 0.92; letter-spacing: -0.055em; color: var(--ink); }
.ab-state__title span, .ab-state__title em { display: block; }
.ab-state__title span:nth-child(2) { padding-left: clamp(0px, 8vw, 150px); }
.ab-state__title em { font-style: italic; color: var(--bronze-ink); padding-left: clamp(0px, 16vw, 300px); }
.ab-state__text { margin: clamp(36px, 4vw, 56px) 0 0 clamp(0px, 16vw, 300px); max-width: 50ch; font-size: clamp(1.02rem, 0.98rem + 0.26vw, 1.16rem); line-height: 1.8; color: var(--on-light-2); }

/* ---------- 02 JOURNEY — horizontal trail ---------- */
.ab-journey { padding: clamp(40px, 5vw, 70px) 0 clamp(90px, 10vw, 130px); background: var(--ab-cream); }
.ab-journey__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(56px, 6vw, 90px); }
.ab-journey__head .ab-body { margin: 0 0 8px; justify-self: end; }
.ab-trail { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; list-style: none; }
.ab-trail::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 1px; background: linear-gradient(90deg, rgba(154, 118, 70, 0.2), var(--bronze) 20%, var(--bronze) 80%, rgba(154, 118, 70, 0.2)); }
.ab-trail__step { position: relative; padding-top: 0; }
.ab-trail__glyph { display: grid; place-items: center; width: 64px; height: 44px; margin-bottom: 40px; color: var(--bronze-ink); }
.ab-trail__glyph svg { width: 64px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ab-trail__step::after { content: ""; position: absolute; left: 26px; top: 59px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--ab-cream); border: 1px solid var(--bronze); transition: background 0.5s; }
.ab-trail__step:hover::after { background: var(--bronze); }
.ab-trail__n { display: block; font-family: var(--font-display); font-weight: 250; font-size: clamp(3rem, 2rem + 2.4vw, 5rem); line-height: 0.85; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(122, 90, 48, 0.55); }
.ab-trail__step h3 { margin: 14px 0 10px; font-family: var(--font-display); font-weight: 320; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.ab-trail__step:last-child h3 { font-style: italic; color: var(--bronze-ink); }
.ab-trail__step p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--on-light-2); }

/* ---------- Photographic breaks ---------- */
.ab-break { position: relative; margin: 0; background: var(--ink); }
.ab-break__img { position: relative; height: clamp(380px, 62vh, 680px); overflow: hidden; }
.ab-break__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: saturate(0.9) sepia(0.06); }
.ab-break__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21, 23, 28, 0.75) 100%); }
.ab-break__cap { position: absolute; left: 0; right: 0; bottom: clamp(26px, 4vw, 50px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.ab-break__k { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bronze-2); }
.ab-break__t { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.8rem); color: var(--ivory); }

/* ---------- 03 WHY ---------- */
.ab-why { padding: clamp(90px, 10vw, 140px) 0 clamp(70px, 7vw, 100px); background: var(--ivory); }
.ab-why__title { margin: 0 0 clamp(50px, 6vw, 80px); max-width: 16ch; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.ab-why__title em { font-style: italic; color: var(--bronze-ink); }
.ab-why__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ab-why__big { position: sticky; top: 120px; margin: 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(2.8rem, 1rem + 4.8vw, 6.6rem); line-height: 0.93; letter-spacing: -0.052em; color: var(--ink); }
.ab-why__big span, .ab-why__big em { display: block; }
.ab-why__big em { font-style: italic; color: var(--bronze-ink); }
.ab-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(21, 23, 28, 0.28); }
.ab-rows li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 30px 0 32px; border-bottom: 1px solid rgba(21, 23, 28, 0.14); transition: padding 0.7s var(--ease-out), opacity 1.3s var(--ease-out), transform 1.5s var(--ease-out); }
.ab-rows li:hover { padding-left: 10px; }
.ab-rows__n { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--bronze-ink); }
.ab-rows h3 { margin: 0; font-family: var(--font-display); font-weight: 320; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.ab-rows p { margin: 10px 0 0; max-width: 46ch; font-size: 0.98rem; line-height: 1.65; color: var(--on-light-2); }

/* ---------- Author + book ---------- */
.ab-yours { padding: clamp(70px, 7vw, 100px) 0 clamp(90px, 10vw, 130px); background: var(--ab-paper); overflow: hidden; }
.ab-yours__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.ab-yours__art { position: relative; padding: 0 clamp(60px, 8vw, 140px) clamp(60px, 7vw, 110px) 0; }
.ab-yours__photo { margin: 0; }
.ab-yours__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.9); box-shadow: 0 50px 80px -56px rgba(40, 26, 10, 0.7); }
.ab-yours__book { position: absolute; right: 0; bottom: 0; margin: 0; display: grid; justify-items: center; gap: 22px; padding: 30px 30px 20px; background: var(--ab-paper); }
.ab-yours__3d { --w: clamp(140px, 13vw, 200px); --t: 24px; --ry: -24deg; --rx: 3deg; --light: 0.2; }
.ab-yours__3d .book3d__body { transition: transform 1.4s var(--ease-out); }
.ab-yours__book:hover .ab-yours__3d { --ry: -12deg; }
.ab-yours__book figcaption { font-family: var(--font-display); font-style: italic; font-size: 0.85rem; color: var(--on-light-3); text-align: center; }
.ab-flow { display: flex; align-items: center; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-light-3); }
.ab-flow li { display: flex; align-items: center; }
.ab-flow li + li::before { content: ""; width: clamp(24px, 4vw, 56px); height: 1px; margin: 0 14px; background: var(--bronze); }
.ab-flow li:last-child { color: var(--bronze-ink); }
.ab-yours__copy .ab-body + .ab-body { margin-top: 14px; }

/* ---------- Dark philosophy ---------- */
.ab-phil { padding: clamp(110px, 12vw, 170px) 0; background: var(--ink); color: var(--on-dark-1); }
.ab-phil__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ab-phil__head { position: sticky; top: 120px; }
.ab-phil__title { margin: 28px 0 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(3rem, 1rem + 5.4vw, 7.6rem); line-height: 0.92; letter-spacing: -0.055em; color: var(--ivory); }
.ab-phil__title span, .ab-phil__title em { display: block; }
.ab-phil__title em { font-style: italic; color: var(--bronze-2); }
.ab-phil__text { margin: 32px 0 0; max-width: 44ch; font-size: clamp(1rem, 0.96rem + 0.24vw, 1.12rem); line-height: 1.8; color: var(--on-dark-2); }
.ab-phil__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(250, 247, 241, 0.2); }
.ab-phil__list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(250, 247, 241, 0.1); }
.ab-phil__list span { grid-row: 1 / 3; padding-top: 6px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; color: var(--bronze-2); }
.ab-phil__list h3 { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--ivory); }
.ab-phil__list p { margin: 8px 0 0; max-width: 44ch; font-size: 0.96rem; line-height: 1.65; color: var(--on-dark-2); }

/* ---------- 04 WHAT WE DO — index ---------- */
.ab-index { padding: clamp(90px, 10vw, 140px) 0; background: var(--ivory); }
.ab-index__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ab-index__head { position: sticky; top: 120px; }
.ab-index__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(21, 23, 28, 0.28); }
.ab-index__row { display: grid; grid-template-columns: 48px minmax(0, 0.9fr) minmax(0, 1.1fr) 30px; align-items: baseline; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(21, 23, 28, 0.14); color: var(--ink); text-decoration: none; transition: padding 0.6s var(--ease-out), background 0.6s; }
.ab-index__n { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; color: var(--bronze-ink); }
.ab-index__t { font-family: var(--font-display); font-weight: 320; font-size: clamp(1.4rem, 1.1rem + 0.9vw, 2.1rem); line-height: 1.05; letter-spacing: -0.03em; transition: color 0.5s; }
.ab-index__d { font-size: 0.94rem; line-height: 1.55; color: var(--on-light-2); }
.ab-index__go { justify-self: end; color: var(--bronze-ink); opacity: 0.35; transform: translateX(-6px); transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.ab-index__go svg { width: 16px; height: 16px; }
.ab-index__row:hover, .ab-index__row:focus-visible { padding-left: 12px; }
.ab-index__row:hover .ab-index__t, .ab-index__row:focus-visible .ab-index__t { color: var(--bronze-ink); }
.ab-index__row:hover .ab-index__go, .ab-index__row:focus-visible .ab-index__go { opacity: 1; transform: none; }
.ab-index__row:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

/* ---------- Final break ---------- */
.ab-shelf { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 76vh, 780px); display: flex; align-items: flex-end; padding: clamp(80px, 9vw, 130px) 0; background: var(--ink); color: var(--ivory); }
.ab-shelf__img { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ab-shelf__img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: saturate(0.9) sepia(0.08); }
.ab-shelf__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 23, 28, 0.15) 0%, rgba(21, 23, 28, 0.25) 45%, rgba(21, 23, 28, 0.85) 100%); }
.ab-shelf__title { margin: 22px 0 0; font-family: var(--font-display); font-weight: 260; font-size: clamp(3rem, 1rem + 6.4vw, 9rem); line-height: 0.9; letter-spacing: -0.056em; color: var(--ivory); }
.ab-shelf__title span, .ab-shelf__title em { display: block; }
.ab-shelf__title em { font-style: italic; color: var(--bronze-2); padding-left: clamp(0px, 10vw, 200px); }

/* ---------- CTA ---------- */
.ab-cta .cta__media img { filter: blur(4px) saturate(0.6) sepia(0.2) brightness(0.5); opacity: 0.9; }
.ab-cta .ab-eyebrow { margin-bottom: 22px; }
.ab-cta__title { margin: 0; font-family: var(--font-display); font-weight: 280; font-size: clamp(2.6rem, 1.2rem + 3.6vw, 5rem); line-height: 0.96; letter-spacing: -0.045em; color: var(--ivory); }
.ab-cta__title em { display: block; font-style: italic; color: var(--bronze-2); }
.ab-cta__text { margin: 24px 0 0; max-width: 46ch; font-size: clamp(1rem, 0.96rem + 0.22vw, 1.1rem); line-height: 1.75; color: var(--on-dark-2); }
.ab-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- reveals (offset + softened, never hidden) ---------- */
.ab-rv { transition: opacity 1.3s var(--ease-out), transform 1.5s var(--ease-out); }
.ab-motion .ab-rv:not(.is-in) { opacity: 0.3; transform: translateY(32px); }
.ab-trail__step:nth-child(2) { transition-delay: 0.08s; } .ab-trail__step:nth-child(3) { transition-delay: 0.16s; } .ab-trail__step:nth-child(4) { transition-delay: 0.24s; } .ab-trail__step:nth-child(5) { transition-delay: 0.32s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .ab-hero__grid, .ab-who__grid, .ab-why__grid, .ab-yours__grid, .ab-phil__grid, .ab-index__grid { grid-template-columns: 1fr; }
  .ab-hero__fig { justify-self: start; max-width: 520px; }
  .ab-who__fig { max-width: 620px; }
  .ab-journey__head { grid-template-columns: 1fr; }
  .ab-journey__head .ab-body { justify-self: start; }
  .ab-why__big, .ab-phil__head, .ab-index__head { position: static; }
  /* trail stacks vertically */
  .ab-trail { grid-template-columns: 1fr; gap: 0; padding-left: 90px; }
  .ab-trail::before { left: 31px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, rgba(154, 118, 70, 0.2), var(--bronze) 10%, var(--bronze) 90%, rgba(154, 118, 70, 0.2)); }
  .ab-trail__step { padding-bottom: 44px; }
  .ab-trail__glyph { position: absolute; left: -90px; top: 0; width: 64px; margin: 0; background: var(--ab-cream); }
  .ab-trail__step::after { display: none; }
  .ab-trail__step p { max-width: 48ch; }
}
@media (max-width: 760px) {
  .ab-who__facts { grid-template-columns: 1fr; }
  .ab-state__title span:nth-child(2), .ab-state__title em, .ab-state__text { padding-left: 0; margin-left: 0; }
  .ab-index__row { grid-template-columns: 36px minmax(0, 1fr) 20px; grid-template-areas: "n t go" "n d go"; row-gap: 6px; }
  .ab-index__n { grid-area: n; } .ab-index__t { grid-area: t; } .ab-index__d { grid-area: d; } .ab-index__go { grid-area: go; align-self: center; opacity: 0.8; transform: none; }
  .ab-yours__art { padding: 0 40px 90px 0; }
  .ab-shelf__title em { padding-left: 0; }
  .ab-label b { display: none; }
}
@media (max-width: 560px) {
  .ab-hero { padding-top: 140px; }
  .ab-crumbs { top: -50px; }
  .ab-hero__title { font-size: clamp(3rem, 14vw, 4rem); }
  .ab-hero__fig::before { inset: 10px -10px 46px 10px; }
  .ab-cta__btns .btn { flex: 1 1 100%; justify-content: center; }
  .ab-trail { padding-left: 70px; }
  .ab-trail::before { left: 21px; }
  .ab-trail__glyph { left: -70px; width: 44px; }
  .ab-trail__glyph svg { width: 44px; }
  .ab-yours__book { padding: 16px 16px 10px; }
  .ab-yours__3d { --w: 110px; --t: 18px; }
  .ab-yours__book figcaption { display: none; }
  .ab-flow li + li::before { margin: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-rv, .ab-rows li, .ab-index__row, .ab-yours__3d .book3d__body { transition: none; }
}

/* ==========================================================================
   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-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-table { --bw: min(21vw, 280px); position: relative; padding-top: 40px; }
.rw-table__row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; padding: 0 2%; }
.rw-table__book { z-index: var(--z, 1); margin-inline: calc(var(--bw) * -0.07); }
.rw-table__book .rw-cap { display: none; }
.rw-table__book.is-lead { margin-inline: calc(var(--bw) * 0.02); }
.rw-table__row:hover .rw-table__book:not(:hover) .rw-book__obj { transform: translateY(2px); }
.rw-table__row:hover .rw-table__book:not(:hover) .rw-book__img { filter: drop-shadow(8px 14px 14px rgba(28, 18, 8, 0.24)) saturate(0.82) brightness(0.94); }
.rw-table__surface { position: relative; height: clamp(46px, 5vw, 70px); margin-top: -14px; background: linear-gradient(180deg, rgba(94, 69, 49, 0.2), rgba(94, 69, 49, 0) 90%); border-top: 1px solid rgba(176, 141, 87, 0.55); }
.rw-now { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: baseline; margin-top: 8px; padding: 18px 0; border-bottom: 1px solid rgba(21, 23, 28, 0.14); min-height: 64px; }
.rw-now__n { font-family: var(--font-display); font-style: italic; font-size: 0.9rem; color: var(--bronze-ink); }
.rw-now__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; min-width: 0; }
.rw-now .rw-cap__t { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); letter-spacing: -0.02em; }
.rw-now .rw-cap__s { font-size: 0.95rem; }
.rw-now__hint { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-light-3); white-space: nowrap; }

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

/* ---------- Author spreads ---------- */

/* ---------- Homepage: Featured authors ---------- */

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

/* ---------- Small row: About / Contact ---------- */
.rw-print { padding: clamp(80px, 9vw, 130px) 0; background: var(--ivory); }
.rw-print__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center; }
.rw-print__copy { display: grid; gap: 24px; justify-items: start; }
.rw-print .rw-table { --bw: min(17vw, 210px); }
.rw-print .rw-now { grid-template-columns: auto minmax(0, 1fr); width: 100%; }
.rw-print .rw-now__hint { display: none; }
.rw-print .rw-h2 { font-size: clamp(2.4rem, 1.2rem + 3vw, 4.4rem); }

/* ---------- 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: 900px) {
  .rw-print__grid { grid-template-columns: minmax(0, 1fr); }
  .rw-now { grid-template-columns: auto minmax(0, 1fr); }
  .rw-now__hint { display: none; }
}
@media (max-width: 760px) {
  .rw-table { --bw: 50vw; padding-top: 10px; }
  .rw-table__row { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 6px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .rw-table__row::-webkit-scrollbar { display: none; }
  .rw-table__book, .rw-table__book.is-lead { margin-inline: 0 18px; scroll-snap-align: center; --s: 0.8 !important; }
  .rw-table__book.is-lead { --s: 1 !important; order: -1; }
  .rw-table__book .rw-cap { display: grid; opacity: 1; transform: none; margin-top: 16px; }
  .rw-table__row:hover .rw-table__book:not(:hover) .rw-book__img { filter: drop-shadow(10px 18px 18px rgba(28, 18, 8, 0.28)); }
  .rw-table__surface { display: none; }
  .rw-table__row { border-bottom: 1px solid rgba(176, 141, 87, 0.5); padding-bottom: 22px; align-items: flex-start; }
  .rw-now { display: none; }
  .rw-print .rw-table { --bw: 50vw; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-book__obj, .rw-book__img, .rw-cap { transition: none; }
}
@media (min-width: 761px) and (max-width: 1024px) { .rw-table { --bw: 23vw; } }

.ab-print { border-top: 1px solid rgba(21, 23, 28, 0.08); }

@media (min-width: 761px){.ab-who__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Section photographs named in the page with data-photo */
[data-photo="1605787050388-845c63b60920-2200"] { --img: url("../images/photos/1605787050388-845c63b60920-2200.webp"); }
[data-photo="1760237658139-ea4ff6c33a91-2400"] { --img: url("../images/photos/1760237658139-ea4ff6c33a91-2400.webp"); }
