/* Fonts: self-hosted (Latin). Fraunces is a variable font (weight, optical size, softness, wonk); Manrope is variable in weight. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 500; font-display: swap; src: url("../fonts/fraunces-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Americas Book Service — Design System  (v2)
   Premium digital bookstore × luxury editorial publishing studio.
   Warm ivory · deep charcoal · muted bronze (accent only) · warm neutrals.
   Reusable across all future pages. Page-specific rules live in home.css.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Neutrals */
  --ink:        #15171C;   /* deep charcoal */
  --ink-2:      #1D2027;
  --ink-3:      #272B33;
  --ivory:      #F6F2EA;   /* warm ivory */
  --ivory-2:    #FBF9F5;
  --paper:      #EDE7DC;   /* warm neutral */
  --stone:      #D8CFC1;
  --taupe:      #9C9184;
  /* Accents (use sparingly) */
  --bronze:     #B08D57;   /* muted bronze / gold */
  --bronze-2:   #CDB184;
  --bronze-ink: #7E6236;   /* bronze readable on ivory */
  --burgundy:   #8F2930;   /* brand red from the logo — tiny touches only */

  /* Legacy aliases (kept so nothing breaks) */
  --abs-ink: var(--ink); --abs-ink-2: var(--ink-2); --abs-ink-3: var(--ink-3);
  --abs-navy: #18233A; --abs-ivory: var(--ivory); --abs-paper: var(--paper);
  --abs-burgundy: var(--burgundy); --abs-gold: var(--bronze); --abs-gold-2: var(--bronze-2);

  /* Text on dark */
  --on-dark-1: rgba(250, 247, 241, 0.96);
  --on-dark-2: rgba(250, 247, 241, 0.68);
  --on-dark-3: rgba(250, 247, 241, 0.44);
  --line-dark: rgba(250, 247, 241, 0.10);

  /* Text on light */
  --on-light-1: #15171C;
  --on-light-2: #57534C;
  --on-light-3: #8B857B;
  --line-light: rgba(21, 23, 28, 0.10);

  /* Glass — light (frosted ivory) */
  --glass-l-bg:     rgba(255, 253, 249, 0.46);
  --glass-l-bg-2:   rgba(255, 253, 249, 0.62);
  --glass-l-border: rgba(255, 255, 255, 0.70);
  --glass-l-shadow: 0 1px 0 rgba(255,255,255,0.75) inset, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 24px 60px -30px rgba(60, 44, 24, 0.35);
  /* Glass — dark (smoked) */
  --glass-d-bg:     rgba(24, 26, 31, 0.46);
  --glass-d-border: rgba(255, 255, 255, 0.14);
  --glass-d-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  --blur:   saturate(160%) blur(24px);
  --blur-s: saturate(140%) blur(12px);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans:    "Manrope", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --fs-display: clamp(3rem, 1.7rem + 4.1vw, 5.8rem);
  --fs-h2:      clamp(2.25rem, 1.45rem + 2.7vw, 4.1rem);
  --fs-h3:      clamp(1.45rem, 1.2rem + 0.75vw, 1.95rem);
  --fs-book:    1.12rem;
  --fs-lead:    clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  --fs-body:    1rem;
  --fs-small:   0.84rem;
  --fs-meta:    0.82rem;
  --fs-label:   0.72rem;

  /* Space & shape */
  --gutter:    clamp(16px, 3.6vw, 48px);
  --maxw:      1280px;
  --section-y: clamp(88px, 10vw, 152px);
  --r-2xl: 36px;
  --r-xl:  28px;
  --r-lg:  22px;
  --r-md:  16px;
  --r-sm:  10px;
  --r-pill: 999px;

  /* Depth */
  --shadow-card:  0 1px 2px rgba(20, 16, 10, 0.06), 0 12px 32px -16px rgba(40, 30, 16, 0.28);
  --shadow-lift:  0 2px 4px rgba(20, 16, 10, 0.06), 0 30px 60px -28px rgba(40, 30, 16, 0.45);
  --shadow-deep:  0 50px 100px -40px rgba(0, 0, 0, 0.55), 0 20px 40px -24px rgba(0, 0, 0, 0.45);

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.28s;
  --t-med:  0.6s;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--on-light-1);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 1;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--ink); color: var(--ivory); }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--ink); color: var(--ivory); border-radius: var(--r-sm); transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--ivory { background: var(--ivory); color: var(--on-light-1); }
.section--paper { background: var(--paper); color: var(--on-light-1); }

/* ---------- 4. Typography ---------- */
.display, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 330;
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin: 0;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 0;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.038em; font-weight: 300; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; font-weight: 380; }
/* Italic accent: tone shift, not colour shift — gold stays an accent */
.display em, .h2 em, .h3 em { font-style: italic; font-weight: 300; color: var(--on-light-2); }
.on-dark .display em, .on-dark .h2 em { color: var(--on-dark-2); }

.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--on-light-2); max-width: 50ch; margin: 0; }
.on-dark .lead { color: var(--on-dark-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bronze-ink);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.16); }
.on-dark .eyebrow { color: var(--bronze-2); }

.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-pill);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .btn__icon { width: 17px; height: 17px; flex: none; transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .btn__icon--arrow { transform: translateX(3px); }

/* Primary on light surfaces */
.btn--primary { --btn-bg: var(--ink); --btn-fg: var(--ivory); box-shadow: 0 10px 24px -12px rgba(21, 23, 28, 0.6); }
.btn--primary:hover { --btn-bg: #000; }
/* Primary on dark surfaces */
.on-dark .btn--primary { --btn-bg: var(--ivory); --btn-fg: var(--ink); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.7); }
.on-dark .btn--primary:hover { --btn-bg: #fff; }
.btn--glass {
  --btn-bg: rgba(255, 255, 255, 0.08); --btn-fg: var(--on-dark-1); --btn-bd: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
}
.btn--glass:hover { --btn-bg: rgba(255, 255, 255, 0.16); --btn-bd: rgba(255, 255, 255, 0.36); }
.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(21, 23, 28, 0.2); box-shadow: none; }
.btn--outline-dark:hover { --btn-bd: var(--ink); --btn-bg: rgba(21, 23, 28, 0.03); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--glass-d-border); background: rgba(255, 255, 255, 0.07); color: var(--on-dark-1);
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out), color var(--t-fast);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.34); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn[disabled] { opacity: 0.35; pointer-events: none; }
.icon-btn--light { color: var(--ink); border-color: var(--line-light); background: rgba(255, 255, 255, 0.55); }
.icon-btn--light:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.88rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px;
  transition: gap var(--t-fast) var(--ease-out), background-size var(--t-fast);
}
.text-link:hover { gap: 12px; }

/* ---------- 6. Glass surfaces ---------- */
.glass {
  background: var(--glass-d-bg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-d-border);
  box-shadow: var(--glass-d-shadow);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
  border-radius: var(--r-pill); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--on-dark-1);
  -webkit-backdrop-filter: var(--blur-s); backdrop-filter: var(--blur-s);
}
.chip--gold { color: var(--bronze-2); border-color: rgba(205, 177, 132, 0.34); background: rgba(176, 141, 87, 0.12); }

/* ---------- 7. 3D Book object ----------
   <div class="book3d"><div class="book3d__body"><div class="book3d__back"></div><img class="book3d__cover"></div><div class="book3d__shadow"></div></div>
   Cover keeps its native ratio (699×1024) — never stretched. */
.book3d {
  --w: 220px;
  --t: 26px;              /* page-block thickness */
  --ry: -26deg;
  --rx: 2deg;
  --light: 0.16;          /* sheen strength */
  width: var(--w);
  aspect-ratio: 699 / 1024;
  perspective: 1600px;
  position: relative;
}
.book3d__body {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 1s var(--ease-out), translate 1s var(--ease-out);
}
.book3d__cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 2px 4px 4px 2px;
  transform: translateZ(calc(var(--t) / 2));
  background: var(--ink-3);
  backface-visibility: hidden;
}
/* hinge crease + soft studio light over the cover */
.book3d__body::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px 4px 4px 2px; pointer-events: none;
  transform: translateZ(calc(var(--t) / 2 + 0.6px));
  background:
    linear-gradient(90deg, rgba(0,0,0,0.34) 0%, rgba(255,255,255,0.22) 1.4%, rgba(0,0,0,0.16) 3%, rgba(0,0,0,0.04) 5.5%, transparent 9%),
    linear-gradient(120deg, rgba(255,255,255,var(--light)) 0%, rgba(255,255,255,0) 34%),
    linear-gradient(0deg, rgba(0,0,0,0.12) 0%, transparent 18%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
/* page block (fore-edge) */
.book3d__body::before {
  content: ""; position: absolute; top: 1.2%; left: 0;
  width: calc(var(--t) - 2px); height: 97.6%;
  transform: translateX(calc(var(--w) - var(--t) / 2 - 3px)) rotateY(90deg);
  background:
    repeating-linear-gradient(90deg, #f7f2e8 0 1px, #e6decf 1px 2px, #faf6ee 2px 3.4px),
    #f3ede2;
  box-shadow: inset 0 0 6px rgba(80, 60, 30, 0.25);
}
.book3d__back {
  position: absolute; inset: 0; border-radius: 2px 4px 4px 2px;
  transform: translateZ(calc(var(--t) / -2));
  background: #101116;
}
/* contact shadow + long soft shadow */
.book3d__shadow {
  position: absolute; left: -4%; right: -22%; bottom: -3.5%; height: 9%;
  background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent);
  filter: blur(6px); pointer-events: none; z-index: -1;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}
.book3d__shadow::after {
  content: ""; position: absolute; left: 8%; right: 0; top: -380%; bottom: 20%;
  background: radial-gradient(closest-side, rgba(0,0,0,0.28), transparent);
  filter: blur(22px); transform: skewX(-18deg) translateX(18%);
}

/* ---------- 8. Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(0.97); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- 9. Forms ---------- */
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 22px 16px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: var(--on-dark-1);
  font-size: 0.95rem; outline: none; transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 112px; resize: vertical; }
.field span {
  position: absolute; left: 17px; top: 17px; font-size: 0.9rem; color: var(--on-dark-3);
  pointer-events: none; transition: top var(--t-fast) var(--ease-out), font-size var(--t-fast), color var(--t-fast);
}
.field input:focus, .field textarea:focus { border-color: rgba(205, 177, 132, 0.7); background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.12); }
.field input:focus + span, .field textarea:focus + span,
.field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span {
  top: 7px; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-2);
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.7rem; line-height: 1.55; color: var(--on-dark-3); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--bronze); }
.check a { text-decoration: underline; color: var(--on-dark-2); }
.form-status { font-size: 0.88rem; min-height: 1.4em; margin: 0; }
.form-status.is-ok { color: #a9d6b0; }
.form-status.is-err { color: #f0b0a8; }
.form-status a { text-decoration: underline; }

/* ---------- 10. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Americas Book Service — Homepage (v2)
   Depends on abs-design-system.css
   ========================================================================== */

:root {
  --edge: clamp(10px, 2.2vw, 32px);                         /* hero frame margin */
  --shell-w: min(1400px, calc(100vw - var(--edge) * 2));
}

/* ==========================================================================
   Navigation — compact frosted "product" bar
   ========================================================================== */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}
.site-header.is-hidden { transform: translateY(-130%); }
.nav {
  pointer-events: auto;
  width: var(--shell-w); margin-inline: auto;
  display: flex; align-items: center; gap: 14px;
  height: 68px; padding: 0 10px 0 18px; border-radius: 22px;
  background: rgba(251, 249, 245, 0.58);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 1px rgba(120, 100, 70, 0.05), 0 18px 40px -26px rgba(50, 36, 18, 0.45);
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), width 0.6s var(--ease-out);
}
.site-header.is-scrolled .nav {
  width: min(1180px, calc(100vw - var(--edge) * 2));
  background: rgba(251, 249, 245, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 1px rgba(120, 100, 70, 0.07), 0 24px 50px -24px rgba(30, 22, 10, 0.4);
}
.nav__logo { flex: none; display: block; padding: 4px 0; }
.nav__logo img { height: 46px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 0; margin: 0 auto; padding: 4px; list-style: none; border-radius: var(--r-pill); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 600; color: #4a463f; letter-spacing: 0.005em; white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); background: rgba(255, 255, 255, 0.75); box-shadow: 0 1px 0 #fff inset, 0 6px 14px -10px rgba(40, 28, 12, 0.5); }
.nav__caret { width: 13px; height: 13px; transition: transform var(--t-fast); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 16px); left: -14px; width: 540px; padding: 10px; border-radius: 22px;
  background: rgba(251, 249, 245, 0.9);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 #fff, 0 30px 60px -24px rgba(40, 28, 12, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.99); transform-origin: 20% 0;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.nav__sub::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub ul { list-style: none; margin: 0; padding: 4px; display: grid; gap: 2px; }
.nav__sub a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-size: 0.88rem; font-weight: 600; color: #3a3731; transition: background var(--t-fast), color var(--t-fast); }
.nav__sub a i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(21, 23, 28, 0.05); color: var(--ink); flex: none; transition: background var(--t-fast), color var(--t-fast); }
.nav__sub a i svg { width: 16px; height: 16px; }
.nav__sub a:hover { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.nav__sub a:hover i { background: var(--ink); color: var(--ivory); }

.nav__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: var(--r-pill); font-size: 0.88rem; font-weight: 600; color: #4a463f; transition: background var(--t-fast); }
.nav__phone svg { width: 15px; height: 15px; }
.nav__phone:hover { background: rgba(21, 23, 28, 0.06); color: var(--ink); }
.nav__cta { min-height: 48px; padding: 0 20px; border-radius: 15px; font-size: 0.9rem; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 14px; position: relative; background: rgba(21, 23, 28, 0.06); }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1400px) { .nav__phone span { display: none; } .nav__phone { width: 42px; padding: 0; justify-content: center; } .nav__link { padding: 0 10px; font-size: 0.87rem; } }
@media (max-width: 1220px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: block; }
}
@media (max-width: 480px) {
  .site-header { top: 10px; }
  .nav { height: 58px; border-radius: 18px; padding: 0 7px 0 12px; }
  .nav__logo img { height: 34px; }
  .nav__cta { display: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: rgba(246, 242, 234, 0.9);
  -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
  color: var(--ink);
  opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 96px var(--gutter) 28px; }
.mobile-menu__label { color: var(--bronze-ink); margin: 0 0 6px; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(6) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(7) { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu__list > li:nth-child(8) { transition-delay: 0.28s; }
.mobile-menu__link {
  display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 13px 0;
  font-family: var(--font-display); font-size: clamp(1.55rem, 6vw, 2rem); font-weight: 330; letter-spacing: -0.02em; text-align: left;
}
.mobile-menu__toggle svg { width: 20px; height: 20px; color: var(--bronze-ink); transition: transform 0.35s var(--ease-out); }
.mobile-menu__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
.mobile-menu__sub { list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.mobile-menu__sub a { display: block; padding: 7px 0; color: var(--on-light-2); font-size: 0.93rem; font-weight: 600; }
.mobile-menu__books { display: flex; justify-content: center; gap: 0; margin: 34px 0 6px; }
.mobile-menu__books img { width: 74px; border-radius: 3px; box-shadow: 0 20px 30px -14px rgba(30, 20, 8, 0.55); }
.mobile-menu__books img:nth-child(1) { transform: rotate(-8deg) translate(14px, 8px); }
.mobile-menu__books img:nth-child(2) { position: relative; z-index: 1; width: 86px; }
.mobile-menu__books img:nth-child(3) { transform: rotate(8deg) translate(-14px, 8px); }
.mobile-menu__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }
.mobile-menu__mail { text-align: center; color: var(--on-light-3); font-size: 0.86rem; padding-top: 4px; }

/* ---------- Floating section rail (after hero, wide screens) ---------- */
.rail {
  position: fixed; left: 20px; top: 50%; z-index: 80; transform: translate(-150%, -50%);
  display: none; flex-direction: column; gap: 4px; padding: 7px; border-radius: 26px;
  background: rgba(251, 249, 245, 0.7);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 #fff, 0 20px 40px -22px rgba(30, 20, 8, 0.4);
  transition: transform 0.8s var(--ease-out);
}
.rail.is-visible { transform: translate(0, -50%); }
.rail a { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #5d5850; transition: background var(--t-fast), color var(--t-fast); }
.rail a svg { width: 17px; height: 17px; }
.rail a span {
  position: absolute; left: calc(100% + 12px); padding: 5px 10px; border-radius: 8px; white-space: nowrap;
  font-size: 0.72rem; font-weight: 600; background: var(--ink); color: var(--ivory);
  opacity: 0; transform: translateX(-4px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast);
}
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a:hover { background: rgba(21, 23, 28, 0.06); color: var(--ink); }
.rail a.is-active { color: var(--ivory); background: var(--ink); }
@media (min-width: 1560px) { .rail { display: flex; } }

/* ==========================================================================
   HERO — a glass library interface floating in a warm, softly-focused room
   ========================================================================== */
.hero { position: relative; isolation: isolate; padding: 98px 0 0; background: var(--ivory); overflow: hidden; }
.hero__ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__ambient-img {
  /* High-resolution photograph with a light 5px softness (books stay recognisable).
     Overscan hides the soft blur edge; extra height is headroom for the gentle parallax. */
  position: absolute; left: -24px; right: -24px; top: -5%; height: 110%;
  filter: blur(5px);
  background-image: url("../images/photos/1758801966638-dfd34dae251c-2400.webp");
  background-image: image-set(
    url("../images/photos/1758801966638-dfd34dae251c-2400.webp") 1x,
    url("../images/photos/1758801966638-dfd34dae251c-3600.webp") 2x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #a88c69;  /* warm walnut-beige while the photo loads */
}
@media (max-width: 900px) {
  .hero__ambient-img {
    background-image: url("../images/photos/1758801966638-dfd34dae251c-1400.webp");
    background-image: image-set(
      url("../images/photos/1758801966638-dfd34dae251c-1400.webp") 1x,
      url("../images/photos/1758801966638-dfd34dae251c-2400.webp") 2x);
  }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 60%, rgba(20, 14, 8, 0.25) 100%),
    /* keep the photo crisp up top; soften only behind the lighter publications row for legibility */
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(246, 242, 234, 0.5) 64%, rgba(246, 242, 234, 0.8) 82%, var(--ivory) 100%);
}

.shell {
  position: relative;
  width: var(--shell-w); margin-inline: auto;
  display: grid; grid-template-columns: 50px 268px minmax(0, 1fr); gap: 14px; align-items: stretch;
  padding: 14px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.42), rgba(255, 251, 244, 0.26));
  -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(110, 90, 60, 0.06),
    0 70px 120px -60px rgba(50, 34, 14, 0.55),
    0 30px 60px -40px rgba(50, 34, 14, 0.35);
  opacity: 0; transform: translate3d(0, 26px, 0) scale(0.99);
  animation: shellIn 1.3s 0.1s var(--ease-out) forwards;
}
@keyframes shellIn { to { opacity: 1; transform: none; } }

/* In-shell rail */
.shell__rail {
  grid-row: 1 / 3; align-self: start;
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 0; margin-top: 2px;
  border-radius: 26px; background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px -18px rgba(40, 28, 12, 0.4);
}
.shell__rail a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #5d5850; transition: background var(--t-fast), color var(--t-fast); }
.shell__rail a svg { width: 16px; height: 16px; }
.shell__rail a:hover { background: rgba(255, 255, 255, 0.8); color: var(--ink); }
.shell__rail a.is-active { background: var(--ink); color: var(--ivory); }

/* Sidebar panels */
.shell__side { display: grid; gap: 14px; min-width: 0; align-content: start; }
.panel {
  padding: 14px 12px 10px; border-radius: 22px;
  background: rgba(255, 253, 249, 0.5); border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 #fff, 0 16px 34px -26px rgba(40, 28, 12, 0.45);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 8px; }
.panel__title { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-sans); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); }
.panel__title svg { width: 15px; height: 15px; color: var(--bronze-ink); }
.panel__more { white-space: nowrap; font-size: 0.72rem; font-weight: 600; color: var(--on-light-3); padding: 4px 8px; border-radius: var(--r-pill); transition: background var(--t-fast), color var(--t-fast); }
.panel__more:hover { background: rgba(21, 23, 28, 0.06); color: var(--ink); }

.minibooks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.minibook { display: grid; grid-template-columns: 38px minmax(0, 1fr) 28px; gap: 12px; align-items: center; width: 100%; padding: 7px 6px; border-radius: 14px; text-align: left; transition: background var(--t-fast); }
.minibook img { width: 38px; height: auto; aspect-ratio: 699 / 1024; object-fit: cover; border-radius: 2px 3px 3px 2px; box-shadow: 0 1px 1px rgba(0,0,0,0.12), 0 8px 14px -8px rgba(30, 20, 8, 0.6); }
.minibook span { display: grid; min-width: 0; }
.minibook b { font-size: 0.86rem; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.35; }
.minibook small { font-size: 0.75rem; color: var(--on-light-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minibook i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-light); color: var(--ink); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.minibook i svg { width: 12px; height: 12px; }
.minibook:hover { background: rgba(255, 255, 255, 0.75); }
.minibook:hover i { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.ministeps { list-style: none; margin: 0; padding: 0 6px 4px; display: grid; gap: 12px; }
.ministeps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 26px; gap: 10px; align-items: center; }
.ministeps__n { font-family: var(--font-display); font-style: italic; font-size: 0.8rem; color: var(--bronze-ink); }
.ministeps__t { display: grid; gap: 6px; min-width: 0; }
.ministeps__t b { font-size: 0.82rem; font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ministeps__t i { position: relative; height: 3px; border-radius: 3px; background: rgba(21, 23, 28, 0.08); overflow: hidden; }
.ministeps__t i::after { content: ""; position: absolute; inset: 0; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, #3b3a36, var(--ink)); transform-origin: left; transform: scaleX(0); animation: barIn 1.4s var(--ease-out) forwards; animation-delay: calc(0.8s + var(--p) * 0.6s); }
.ministeps li:last-child .ministeps__t i::after { background: linear-gradient(90deg, var(--bronze-ink), var(--bronze)); }
@keyframes barIn { to { transform: scaleX(1); } }
.ministeps small { font-size: 0.68rem; color: var(--on-light-3); text-align: right; font-variant-numeric: tabular-nums; }

/* Main column */
.shell__main { display: grid; min-width: 0; }

/* ---------- Featured stage (dark, cinematic) ---------- */
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto;
  min-height: clamp(560px, 72vh, 660px); height: 100%; border-radius: 26px;
  background: var(--ink); color: var(--on-dark-1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 40px 70px -40px rgba(0, 0, 0, 0.7), 0 12px 24px -16px rgba(0, 0, 0, 0.35);
}
.stage__bg { position: absolute; inset: 0; z-index: -1; }
.stage__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(0.75) brightness(0.7) contrast(1.05); transform: scale(1.04); }
.stage__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 55% at 72% 44%, rgba(222, 190, 140, 0.26), transparent 72%),
    linear-gradient(90deg, rgba(13, 14, 18, 0.95) 0%, rgba(13, 14, 18, 0.84) 34%, rgba(13, 14, 18, 0.38) 64%, rgba(13, 14, 18, 0.5) 100%),
    linear-gradient(0deg, rgba(13, 14, 18, 0.78) 0%, transparent 38%);
}
.stage__copy { grid-column: 1; grid-row: 1 / 3; align-self: center; padding: clamp(30px, 3.4vw, 54px) clamp(16px, 1.6vw, 28px) clamp(30px, 3.4vw, 54px) clamp(30px, 3.4vw, 54px); position: relative; z-index: 2; }
.stage__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; opacity: 0; animation: inUp 1s 0.3s var(--ease-out) forwards; }
.stage__chips .chip { transition: background var(--t-fast), border-color var(--t-fast); }
.stage__chips .chip:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.3); }
.stage__title { font-size: clamp(3rem, 1.4rem + 3.9vw, 5.4rem); color: var(--ivory); }
.stage__title em { color: rgba(250, 247, 241, 0.62); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: inline-block; transform: translate3d(0, 110%, 0); animation: lineUp 1.35s var(--ease-out) forwards; animation-delay: calc(0.25s + var(--i) * 0.12s); }
@keyframes lineUp { to { transform: none; } }
.hero__in { opacity: 0; transform: translate3d(0, 14px, 0); animation: inUp 1.1s var(--ease-out) forwards; animation-delay: calc(0.3s + var(--i) * 0.12s); }
@keyframes inUp { to { opacity: 1; transform: none; } }
.stage__lead { margin: 26px 0 0; max-width: 40ch; font-size: 1.1rem; line-height: 1.7; color: var(--on-dark-2); }
.stage__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.stage__call { width: 48px; height: 48px; }

.stage__showcase { grid-column: 2; grid-row: 1; position: relative; display: grid; place-items: center; padding: 40px 0 16px; z-index: 1; }
.stage__showcase::before { content: ""; position: absolute; left: 50%; top: 46%; width: 88%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(232, 198, 146, 0.24) 0%, rgba(232, 198, 146, 0.07) 42%, transparent 68%); pointer-events: none; }
.stage__plinth {
  position: absolute; left: 50%; bottom: 6%; width: 74%; height: 26%; transform: translateX(-50%);
  background: radial-gradient(50% 36% at 50% 62%, rgba(255, 238, 208, 0.2), transparent 70%), radial-gradient(34% 18% at 52% 58%, rgba(0, 0, 0, 0.5), transparent 75%);
  pointer-events: none;
}
.stage__plinth::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 36%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 215, 0.28), transparent);
}
.stage__book { --w: clamp(220px, 19vw, 300px); --t: 40px; --ry: -32deg; --rx: 5deg; --light: 0.2; perspective: 1000px; margin-bottom: 24px; opacity: 0; animation: bookIn 1.6s 0.45s var(--ease-out) forwards; }
@keyframes bookIn { from { opacity: 0; transform: translate3d(40px, 10px, 0) rotate(2deg); } to { opacity: 1; transform: none; } }
.stage__book .book3d__body { animation: float 8s 2s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.stage__book .book3d__cover { transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out); }
.stage.is-switching .stage__book .book3d__cover { opacity: 0; filter: blur(4px); }

.stage__caption {
  grid-column: 2; grid-row: 2; justify-self: start; align-self: end; margin: 0 0 22px 0;
  position: relative; z-index: 2; width: min(380px, calc(100% - 150px)); padding: 18px 20px 18px 20px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(40, 42, 48, 0.55), rgba(20, 21, 26, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.stage__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stage__kicker { color: var(--bronze-2); font-size: 0.7rem; white-space: nowrap; }
.stage__meta .chip { height: 26px; padding: 0 11px; font-size: 0.72rem; }
.stage__meta .chip:empty { display: none; }
.stage__text { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.stage.is-switching .stage__text { opacity: 0; transform: translateY(5px); }
.stage__book-title { margin: 0; font-family: var(--font-display); font-weight: 380; font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.6rem); line-height: 1.12; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stage__book-sub { margin: 4px 0 0; font-family: var(--font-display); font-style: italic; font-size: 0.98rem; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__book-sub:empty { display: none; }
.stage__book-author { margin: 8px 0 0; padding-right: 50px; font-size: 0.88rem; color: var(--on-dark-3); }
.stage__book-author span { color: var(--on-dark-1); font-weight: 600; }
.stage__view { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ivory); color: var(--ink); transition: transform var(--t-fast) var(--ease-out); }
.stage__view svg { width: 16px; height: 16px; }
.stage__view:hover { transform: rotate(45deg); }

.stage__controls { grid-column: 2; grid-row: 2; justify-self: end; align-self: end; display: flex; align-items: center; gap: 10px; margin: 0 26px 30px 0; z-index: 2; }
.stage__controls .icon-btn { width: 52px; height: 52px; }
.stage__controls .icon-btn svg { width: 19px; height: 19px; }
.stage__count { display: none; align-items: baseline; gap: 4px; font-size: 0.9rem; color: var(--on-dark-3); margin-right: 8px; font-variant-numeric: tabular-nums; }
.stage__count b { font-family: var(--font-display); font-weight: 350; font-size: 1.7rem; color: var(--ivory); }
.stage__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.06); z-index: 3; }
.stage__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, rgba(205, 177, 132, 0.2), var(--bronze-2)); transform-origin: left; transform: scaleX(0); }
.stage__progress span.is-running { animation: progress var(--dur, 7s) linear forwards; }
.stage:hover .stage__progress span.is-running { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Book discovery ---------- */
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; min-width: 0; }
.filters::-webkit-scrollbar { display: none; }

.shelf {
  --card-w: clamp(196px, 14.4vw, 236px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 6px;
  scrollbar-width: none; cursor: grab; padding: 18px 6px 14px; margin-top: 4px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent);
}
.shelf::-webkit-scrollbar { display: none; }
.shelf.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shelf.is-dragging .bcard__btn { pointer-events: none; }
.bcard { width: var(--card-w); flex: none; scroll-snap-align: start; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.bcard.is-hidden { display: none; }
.bcard.is-entering { opacity: 0; transform: translateY(10px); }
.bcard__btn {
  display: flex; flex-direction: column; width: 100%; text-align: left; color: var(--on-dark-1); position: relative; overflow: hidden;
  border-radius: 20px; background: linear-gradient(180deg, #262930 0%, #17191E 62%, #121418 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 1px 2px rgba(0,0,0,0.2), 0 22px 36px -24px rgba(20, 14, 6, 0.75);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}
.bcard__btn:hover, .bcard__btn:focus-visible { transform: translateY(-6px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 4px rgba(0,0,0,0.2), 0 36px 50px -26px rgba(20, 14, 6, 0.85); }
.bcard__btn:hover .book3d__body, .bcard__btn:focus-visible .book3d__body { translate: 0 -6px; }
.bcard__btn:hover .book3d__shadow, .bcard__btn:focus-visible .book3d__shadow { transform: scaleX(0.9); opacity: 0.8; }

/* ---------- Trust strip ---------- */
.trust {
  padding: 40px 0 44px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.trust__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.trust:hover .trust__track { animation-play-state: paused; }
.trust__row { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); margin: 0; padding: 0 clamp(24px, 3vw, 48px); list-style: none; }
.trust__row img { height: 22px; width: auto; opacity: 0.34; filter: grayscale(1); transition: opacity var(--t-fast); }
.trust__row li:hover img { opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero responsive ---------- */
@media (min-width: 1440px) { .stage__count { display: inline-flex; } .stage__caption { width: min(380px, calc(100% - 236px)); } }
@media (max-width: 1440px) { .stage__call { display: none; } }
@media (max-width: 1320px) {
  .shell { grid-template-columns: 46px 244px minmax(0, 1fr); }
  .panel__title { font-size: 0.76rem; }
  .stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .stage__title { font-size: clamp(3rem, 1.2rem + 3.6vw, 4.6rem); }
  .stage__ctas .btn { padding: 0 18px; }
}
@media (max-width: 1100px) {
  .hero { padding-top: 86px; }
  .shell { grid-template-columns: minmax(0, 1fr); padding: 10px; border-radius: 28px; gap: 10px; }
  .shell__rail, .shell__side { display: none; }
  .stage { min-height: 560px; }
}
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; min-height: 0; border-radius: 22px; }
  .stage__copy { grid-column: 1; grid-row: 1; padding: 30px 24px 8px; }
  .stage__showcase { grid-column: 1; grid-row: 2; padding: 26px 0 0; }
  .stage__book { --w: min(52vw, 240px); --t: 32px; }
  .stage__caption { grid-column: 1; grid-row: 3; margin: 0 16px 16px; width: auto; justify-self: stretch; }
  .stage__controls { grid-column: 1; grid-row: 2; align-self: end; margin: 0 16px 12px 0; }
  .stage__call { display: inline-grid; }
  .stage__bg::after {
    background:
      radial-gradient(60% 30% at 50% 58%, rgba(214, 186, 140, 0.2), transparent 72%),
      linear-gradient(180deg, rgba(13, 14, 18, 0.92) 0%, rgba(13, 14, 18, 0.72) 45%, rgba(13, 14, 18, 0.6) 70%, rgba(13, 14, 18, 0.9) 100%);
  }
  .stage__copy { padding: 36px 32px 8px; }
  .stage__title { font-size: clamp(3rem, 8vw, 4.6rem); }
  .stage__book { --w: 260px; }
}
@media (max-width: 760px) {
  .stage__copy { padding: 30px 24px 8px; }
  .stage__book { --w: min(56vw, 230px); }
  .shelf { --card-w: 46vw; }
}
@media (max-width: 480px) {
  .hero { padding-top: 78px; }
  .shell { padding: 8px; border-radius: 26px; }
  .stage__title { font-size: clamp(2.8rem, 12.5vw, 3.6rem); }
  .stage__chips { margin-bottom: 20px; }
  .stage__ctas .btn { flex: 1 1 auto; }
  .stage__ctas .btn--primary { flex-basis: 100%; }
  .shelf { --card-w: 52vw; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding-top: clamp(96px, 11vw, 160px); }
.services__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.services__head .h2 { max-width: 14ch; }
.services__head .lead { justify-self: end; }
.svc { border-top: 1px solid var(--line-light); }
.svc--compact { padding: 20px 0; }

.svc-visual { position: sticky; top: 104px; }
.svc-visual.is-switching .book3d__cover { opacity: 0; filter: blur(4px); }

.genres { margin-top: clamp(96px, 10vw, 140px); }
.genres__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.genres__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.6vw, 56px); }
.genre { padding: 24px 0 30px; border-top: 1px solid var(--line-light); }
.genre__n { font-family: var(--font-display); font-style: italic; color: var(--bronze-ink); font-size: 0.95rem; }
.genre h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.012em; margin: 6px 0 8px; line-height: 1.25; }
.genre p { margin: 0; color: var(--on-light-2); font-size: 0.95rem; line-height: 1.65; }

@media (max-width: 960px) {
  .services__head { grid-template-columns: 1fr; }
  .services__head .lead { justify-self: start; }
  .svc-visual { display: none; }
  .genres__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .genres__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process journey
   ========================================================================== */
.process { background: radial-gradient(70% 50% at 8% 18%, #262931, transparent 70%), var(--ink); }

.steps { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line-dark); }
.steps::after { content: ""; position: absolute; left: 0; top: 10px; width: 1px; height: calc((100% - 20px) * var(--p, 0)); background: linear-gradient(var(--bronze-2), rgba(205, 177, 132, 0.3)); transition: height 0.3s linear; }
.step { position: relative; min-height: 42vh; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-content: center; padding: 36px 0; opacity: 0.3; transition: opacity 0.8s var(--ease-out); }
.step:first-child { padding-top: 0; min-height: 36vh; align-content: start; }
.step::before { content: ""; position: absolute; left: -39px; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(250, 247, 241, 0.28); transition: background 0.5s, border-color 0.5s, box-shadow 0.5s; }
.step:first-child::before { top: 30px; }
.step.is-active { opacity: 1; }
.step.is-active::before { background: var(--bronze-2); border-color: var(--bronze-2); box-shadow: 0 0 0 6px rgba(205, 177, 132, 0.14); }

@media (max-width: 960px) {
  .step, .step:first-child { min-height: 0; opacity: 1; padding: 28px 0; align-content: start; }
  .step::before, .step:first-child::before { top: 42px; }
}
@media (max-width: 560px) {
  .steps { padding-left: 24px; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step::before, .step:first-child::before { left: -29px; top: 34px; }
}

/* ==========================================================================
   About / Why
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__figure { position: relative; margin: 0; border-radius: var(--r-2xl); padding: clamp(20px, 3vw, 36px); background: linear-gradient(160deg, #fffdf9, var(--paper)); box-shadow: var(--shadow-card); border: 1px solid rgba(255, 255, 255, 0.8); }
.about__figure img { width: 100%; }
.about__badge {
  position: absolute; left: -16px; bottom: 26px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px;
  background: rgba(21, 23, 28, 0.86); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  color: var(--on-dark-2); font-size: 0.78rem; box-shadow: var(--shadow-lift);
}
.about__badge .label { color: var(--bronze-2); font-size: 0.6rem; }
.about__copy .h2 { max-width: 16ch; }
.about__copy .lead { margin-top: 22px; }
.about__partner { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.about__partner-title { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.35; letter-spacing: -0.012em; margin: 0 0 18px; max-width: 36ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { position: relative; padding-left: 26px; font-weight: 600; font-size: 0.88rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--bronze); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm-1.2 11.2L3.6 8l1.1-1.1 2.1 2.1 4.5-4.5 1.1 1.1-5.6 5.6Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0Zm-1.2 11.2L3.6 8l1.1-1.1 2.1 2.1 4.5-4.5 1.1 1.1-5.6 5.6Z'/%3E%3C/svg%3E") center / contain no-repeat; }

.why { margin-top: clamp(96px, 10vw, 140px); }
.why__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.why__head p { margin: 0; color: var(--on-light-2); max-width: 50ch; font-size: 0.95rem; justify-self: end; }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.why__item { padding: 26px 26px 6px 0; }
.why__item + .why__item { padding-left: 26px; border-left: 1px solid var(--line-light); }
.why__k { font-family: var(--font-display); font-style: italic; color: var(--bronze-ink); }
.why__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.012em; margin: 12px 0 8px; line-height: 1.25; }
.why__item p { margin: 0; color: var(--on-light-2); font-size: 0.95rem; }
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 520px; }
  .about__badge { left: 16px; }
  .why__head { grid-template-columns: 1fr; gap: 12px; }
  .why__head p { justify-self: start; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line-light); }
}
@media (max-width: 560px) {
  .ticks { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 22px 0 16px; border-left: 0; }
  .why__item + .why__item { border-top: 1px solid var(--line-light); }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.reviews__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.reviews__head .h2 { max-width: 13ch; }
.reviews__sub { color: var(--on-light-2); margin: 20px 0 0; max-width: 40ch; font-size: 0.95rem; }
.reviews__controls { display: flex; align-items: center; gap: 8px; margin-top: 32px; }
.reviews__tp { margin-left: 14px; }
.reviews__tp img { height: 40px; width: auto; }
.quotes { position: relative; display: grid; }
.quote {
  grid-area: 1 / 1; margin: 0; padding: clamp(30px, 5vw, 60px); border-radius: var(--r-2xl);
  background: linear-gradient(160deg, #fffdf9, #f7f2e9); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), visibility 0.8s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote__mark { width: 38px; height: 38px; color: var(--bronze); margin-bottom: 18px; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-family: var(--font-display); font-weight: 330; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem); line-height: 1.45; letter-spacing: -0.012em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-light); }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption > span { display: grid; }
.quote figcaption b { font-weight: 700; font-size: 0.95rem; }
.quote figcaption span span { font-size: 0.8rem; color: var(--on-light-3); }
.quotes__dots { grid-area: 2 / 1; display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.quotes__dots button { width: 26px; height: 3px; border-radius: 3px; background: rgba(21, 23, 28, 0.16); transition: background 0.3s, width 0.4s var(--ease-out); }
.quotes__dots button[aria-selected="true"] { background: var(--ink); width: 42px; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.qa__a { overflow: hidden; }
.qa__a p { margin: 0; padding: 0 56px 26px 0; color: var(--on-light-2); max-width: 62ch; font-size: 0.93rem; }
@media (max-width: 900px) { .qa__a p { padding-right: 0; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */

.lead-form { border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; }
.lead-form.glass { background: rgba(28, 30, 36, 0.55); }
.lead-form--modal { padding: 0; background: none !important; border: 0; box-shadow: none; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.lead-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 520px) { .lead-form__grid { grid-template-columns: 1fr; } .lead-form__foot .btn { width: 100%; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #0F1013; color: var(--on-dark-2); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 0.88rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 76px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 40ch; margin: 0 0 22px; }
.footer__social { display: flex; gap: 8px; }
.footer__social .icon-btn { width: 40px; height: 40px; }
.footer__col .label { color: var(--bronze-2); margin: 6px 0 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__col a { transition: color var(--t-fast); }
.footer__col a:hover { color: var(--on-dark-1); }
.footer__contact { margin-bottom: 20px !important; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-size: 0.8rem; color: var(--on-dark-3); }
.footer__bottom p { margin: 0; }
.footer__badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__badges img { height: 26px; width: auto; }
.footer__badges a img { height: 32px; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Dialogs
   ========================================================================== */
.modal { padding: 0; border: 0; background: transparent; color: var(--on-dark-1); width: min(620px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); overflow: visible; }
.modal--book { width: min(900px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(20, 16, 10, 0.42); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); }
.modal[open] { animation: modalIn 0.6s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
.modal__panel { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); background: rgba(22, 24, 29, 0.86); max-height: calc(100dvh - 24px); overflow-y: auto; }
.modal__panel .h3 { margin-bottom: 22px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; z-index: 2; }
.modal__panel--book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: center; overflow-x: hidden; }
.bm__stage { display: grid; place-items: center; padding: 34px 0; border-radius: 22px; background: radial-gradient(60% 50% at 50% 55%, rgba(214, 186, 140, 0.18), transparent 70%), rgba(255, 255, 255, 0.03); }
.bm__book { --w: clamp(160px, 22vw, 250px); --t: 28px; --ry: -26deg; --rx: 3deg; }
.bm__info { display: grid; justify-items: start; gap: 6px; }
.bm__title { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.05; margin: 14px 0 4px; }
.bm__sub { margin: 0; font-family: var(--font-display); font-style: italic; color: var(--on-dark-2); font-size: 1.05rem; }
.bm__sub:empty { display: none; }
.bm__author { margin: 6px 0 0; color: var(--on-dark-3); font-size: 0.9rem; }
.bm__author span { color: var(--on-dark-1); font-weight: 600; }
.bm__note { margin: 18px 0 0; color: var(--on-dark-2); max-width: 40ch; font-size: 0.92rem; }
.bm__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 720px) {
  .modal__panel--book { grid-template-columns: 1fr; }
  .bm__book { --w: 140px; }
  .bm__stage { padding: 22px 0; }
}
body.is-locked { overflow: hidden; }

/* Reduced motion: show hero content immediately (no entrance choreography) */
@media (prefers-reduced-motion: reduce) {
  .shell, .hero__line > span, .hero__in, .stage__chips, .stage__book, .trust__track { animation: none !important; opacity: 1 !important; transform: none !important; }
  .stage__book .book3d__body { animation: none !important; translate: none !important; }
  .ministeps__t i::after { animation: none !important; transform: none !important; }
}

/* ==========================================================================
   v2.6 — Section refinements
   Carries the approved hero language (ivory glass frames, champagne panels,
   dark stage, bronze accents, Fraunces/Manrope hierarchy) through the rest
   of the page. Overrides only; structure and behaviour are unchanged.
   ========================================================================== */

/* Shared: section heads + a reusable "glass frame" like the hero shell */
.services__head .h2, .about__copy .h2, .reviews__head .h2 { letter-spacing: -0.032em; line-height: 1.02; }
.services__head .lead, .why__head p { color: var(--on-light-2); }
.section--ivory, .section--paper { position: relative; }
.section--ivory::before, .section--paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 90% 0%, rgba(214, 186, 140, 0.1), transparent 70%);
}
.section--ivory > .container, .section--paper > .container { position: relative; }

/* ---------- Services ---------- */
.svc { border-top: 0; position: relative; }
.svc + .svc::before { content: ""; position: absolute; left: 22px; right: 22px; top: -2px; height: 1px; background: var(--line-light); transition: opacity 0.5s var(--ease-out); }
.svc.is-active::before, .svc.is-active + .svc::before { opacity: 0; }
.svc--compact { padding: 22px 22px 6px; }

/* Featured panel = the hero's dark stage, in miniature */
.svc-visual { padding: 12px; border-radius: 36px; background: linear-gradient(160deg, rgba(255, 253, 249, 0.7), rgba(251, 247, 239, 0.4)); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 40px 80px -50px rgba(50, 34, 14, 0.5); }

/* ---------- Ghostwriting specialties ---------- */
.genres__head { align-items: flex-end; margin-bottom: 34px; }
.genres__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); letter-spacing: -0.028em; line-height: 1.05; max-width: 18ch; }
.genres__title em { color: var(--on-light-2); }
.genres__grid {
  gap: 12px; padding: 12px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.55), rgba(237, 231, 220, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 40px 80px -56px rgba(50, 34, 14, 0.5);
}
.genre {
  position: relative; border-top: 0; padding: 30px 28px 32px; border-radius: 24px;
  background: rgba(255, 253, 249, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -22px rgba(40, 28, 12, 0.45);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out), background 0.6s var(--ease-out), border-color 0.6s;
}
.genre::after { content: ""; position: absolute; left: 28px; top: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--bronze); opacity: 0.7; transition: width 0.7s var(--ease-out), opacity 0.5s; }
.genre__n { display: inline-block; font-size: 1.05rem; margin-bottom: 4px; }
.genre h4 { margin-top: 10px; }
.genre:hover { transform: translateY(-4px); background: #fffdf9; border-color: rgba(205, 177, 132, 0.45); box-shadow: inset 0 1px 0 #fff, 0 26px 44px -28px rgba(40, 28, 12, 0.5); }
.genre:hover::after { width: 64px; opacity: 1; }

/* ---------- Process (dark editorial) ---------- */
.process {
  background:
    radial-gradient(60% 45% at 12% 20%, rgba(214, 186, 140, 0.1), transparent 70%),
    radial-gradient(70% 50% at 8% 18%, #262931, transparent 70%),
    var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.steps::before { background: rgba(250, 247, 241, 0.08); }
.step { min-height: 34vh; gap: 30px; opacity: 0.4; }
.step:first-child { min-height: 30vh; }

/* ---------- About ---------- */
.about__copy .h2 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); max-width: 15ch; }
.about__figure {
  padding: 12px; border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.7), rgba(237, 231, 220, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 50px 90px -56px rgba(50, 34, 14, 0.55);
}
.about__figure img {
  border-radius: 26px; padding: clamp(18px, 2.6vw, 34px);
  background: radial-gradient(80% 70% at 50% 45%, #fffdf9, #f1ebe0);
  box-shadow: inset 0 0 0 1px rgba(120, 100, 70, 0.06);
  transition: transform 1.2s var(--ease-out);
}
.about__figure:hover img { transform: scale(1.015); }
.about__badge {
  left: -18px; bottom: 34px; border-radius: 20px; padding: 16px 20px;
  background: linear-gradient(160deg, rgba(40, 42, 48, 0.9), rgba(20, 21, 26, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -28px rgba(0, 0, 0, 0.65);
}
.about__partner {
  margin-top: 34px; padding: 26px 26px 24px; border-top: 0; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.8), rgba(251, 247, 239, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.05), 0 24px 44px -34px rgba(50, 34, 14, 0.45);
}
.about__partner-title { font-size: 1.3rem; }
.ticks li::before { background: var(--bronze); }

.why__head { align-items: end; }
.why__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); letter-spacing: -0.028em; line-height: 1.05; max-width: 17ch; }
.why__title em { color: var(--on-light-2); }
.why__grid {
  border-top: 0; padding: 12px; gap: 12px; border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.55), rgba(237, 231, 220, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 40px 80px -56px rgba(50, 34, 14, 0.5);
}
.why__item, .why__item + .why__item {
  position: relative; padding: 28px 24px 30px; border-left: 0; border-top: 0 !important; border-radius: 24px;
  background: rgba(255, 253, 249, 0.7); border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 10px 24px -22px rgba(40, 28, 12, 0.45);
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out), border-color 0.6s;
}
.why__item::after { content: ""; position: absolute; left: 24px; top: 0; width: 34px; height: 2px; border-radius: 2px; background: var(--bronze); opacity: 0.7; transition: width 0.7s var(--ease-out); }
.why__item:hover { transform: translateY(-4px); border-color: rgba(205, 177, 132, 0.45); box-shadow: inset 0 1px 0 #fff, 0 26px 44px -28px rgba(40, 28, 12, 0.5); }
.why__item:hover::after { width: 64px; }
.why__k { font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.reviews { background: radial-gradient(60% 50% at 80% 50%, rgba(214, 186, 140, 0.12), transparent 70%), var(--paper); }
.reviews__head .h2 { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); }
.reviews__controls .icon-btn { width: 52px; height: 52px; }
.quotes { padding: 12px; border-radius: 40px; background: linear-gradient(160deg, rgba(255, 253, 249, 0.6), rgba(237, 231, 220, 0.3)); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: inset 0 1px 0 #fff, 0 50px 90px -60px rgba(50, 34, 14, 0.55); }
.quote {
  border-radius: 30px; padding: clamp(32px, 4.6vw, 60px);
  background: linear-gradient(160deg, #fffdf9, #f8f3ea);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(120, 100, 70, 0.06), 0 24px 44px -34px rgba(50, 34, 14, 0.45);
}
.quote__mark { width: 50px; height: 50px; color: var(--bronze); opacity: 0.85; }
.quote blockquote p { color: #2a2823; }
.quote figcaption img { box-shadow: 0 0 0 2px #fffdf9, 0 0 0 3px rgba(176, 141, 87, 0.5); }
.quote figcaption b { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; letter-spacing: -0.01em; }
.quotes__dots { grid-area: 2 / 1; margin: 14px 0 4px; }
.quotes__dots button[aria-selected="true"] { background: var(--bronze-ink); }

/* ---------- FAQ ---------- */
.qa__a p { line-height: 1.75; }

/* ---------- Responsive guards ---------- */
@media (max-width: 960px) {
  .svc-visual { display: none; }
  .genres__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 600px) {
  .svc + .svc::before { left: 14px; right: 14px; }
  .svc--compact { padding: 18px 14px 4px; }
  .genres__grid, .why__grid { grid-template-columns: 1fr; padding: 8px; border-radius: 26px; gap: 8px; }
  .genre, .why__item, .why__item + .why__item { padding: 24px 22px; }
  .about__figure { padding: 8px; border-radius: 28px; }
  .about__badge { left: 12px; bottom: 16px; }
  .about__partner { padding: 22px 20px; }
  .quotes { padding: 8px; border-radius: 30px; }
  .quote { border-radius: 24px; }
}

/* ==========================================================================
   v2.7 — Editorial atmosphere
   A reusable photographic background layer (.ed-bg), a paper grain, oversized
   ghost chapter numbers and softer section seams. The hero is untouched.

   Layering inside a section:
     .ed-bg (clip box)  →  .ed-bg__img (photo: low opacity, soft blur,
     desaturated, masked to one side, extremely slow drift/parallax)
                        →  .ed-bg::after (warm veil + paper grain)
     → section content (containers are position: relative, so they paint above)

   Per-section knobs: --bg-img, --bg-img-m (mobile), --bg-o (opacity),
   --bg-pos, --bg-mask, --bg-veil, --bg-filter.
   Photos load only when the section approaches the viewport (.is-loaded,
   set in main.js), so none of them compete with the hero image.
   ========================================================================== */
:root {
  --grain: url("data:image/png;base64,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");
}

.ed-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; overflow: clip; pointer-events: none; }
.ed-bg__img {
  position: absolute; inset: -140px 0;
  background-image: none; background-size: cover; background-repeat: no-repeat;
  background-position: var(--bg-pos, center);
  opacity: 0;
  filter: var(--bg-filter, blur(1.5px) saturate(0.72) contrast(0.92));
  -webkit-mask-image: var(--bg-mask, none); mask-image: var(--bg-mask, none);
  transform: scale(1.04); transform-origin: var(--bg-pos, center);
  transition: opacity 1.8s var(--ease-out);
}
.ed-bg.is-loaded .ed-bg__img { background-image: var(--bg-img); opacity: calc(var(--bg-o, 0.2) * var(--bg-k, 1)); animation: edDrift 60s ease-in-out infinite alternate; }
.ed-bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--bg-veil, none);
}
@keyframes edDrift { from { transform: scale(1.04); } to { transform: scale(1.09); } }

/* Paper grain on the light sections that carry no photograph */
.section--ivory::before, .section--paper::before {
  background:
    var(--grain),
    radial-gradient(60% 40% at 90% 0%, rgba(214, 186, 140, 0.1), transparent 70%);
  background-size: 100px 100px, 100% 100%;
}

/* ---------- Services: curved cream shelving, weighted to the right whitespace ---------- */
.ed-bg--svc { bottom: auto; height: min(1240px, 64%); }
.ed-bg--svc .ed-bg__img { left: 34%; }
.ed-bg--svc {
  --bg-img: url("../images/photos/1759494706685-7ca176de7e6b-1600.webp");
  --bg-img-m: url("../images/photos/1759494706685-7ca176de7e6b-900.webp");
  --bg-o: 0.26;
  --bg-pos: 30% 55%;
  --bg-filter: blur(3px) saturate(0.7) contrast(0.9);
  --bg-mask: radial-gradient(75% 70% at 72% 42%, #000 22%, rgba(0, 0, 0, 0.45) 55%, transparent 82%);
  --bg-veil: linear-gradient(90deg, var(--ivory) 0%, rgba(246, 242, 234, 0.6) 40%, rgba(246, 242, 234, 0.1) 75%, rgba(246, 242, 234, 0.25) 100%),
             linear-gradient(180deg, rgba(246, 242, 234, 0.15) 0%, transparent 35%, rgba(246, 242, 234, 0.5) 78%, var(--ivory) 100%);
}

/* ---------- Process: an almost invisible warm library, deep in the dark ---------- */

/* ---------- About: architectural shelving around, not behind, the composition ---------- */
.ed-bg--about {
  --bg-img: url("../images/photos/1761971975684-9b900192df96-1600.webp");
  --bg-img-m: url("../images/photos/1761971975684-9b900192df96-900.webp");
  --bg-o: 0.3;
  --bg-pos: 30% 30%;
  --bg-mask: radial-gradient(70% 46% at 12% 8%, #000 18%, rgba(0, 0, 0, 0.4) 52%, transparent 78%);
  --bg-veil: linear-gradient(180deg, rgba(246, 242, 234, 0.1) 0%, rgba(246, 242, 234, 0.5) 42%, var(--ivory) 70%),
             linear-gradient(90deg, transparent 30%, rgba(246, 242, 234, 0.55) 70%);
}

/* ---------- Testimonials: a faint skylight in the left-hand whitespace ---------- */
.ed-bg--rev {
  --bg-img: url("../images/photos/1781843310183-a4b27447180d-1600.webp");
  --bg-img-m: url("../images/photos/1781843310183-a4b27447180d-900.webp");
  --bg-o: 0.13;
  --bg-pos: 50% 40%;
  --bg-filter: blur(2px) saturate(0.5) sepia(0.25) contrast(0.85);
  --bg-mask: radial-gradient(46% 62% at 6% 92%, #000 16%, transparent 76%);
  --bg-veil: linear-gradient(180deg, var(--ivory) 0%, rgba(237, 231, 220, 0) 22%, rgba(237, 231, 220, 0) 78%, var(--ivory) 100%);
}

/* ---------- FAQ: a whisper of shelving at the far lower-left, away from the questions ---------- */

/* Tonal seams: ivory → paper → ivory, with a single bronze hairline at the dark transitions */
.reviews { background: radial-gradient(60% 50% at 80% 50%, rgba(214, 186, 140, 0.12), transparent 70%), linear-gradient(180deg, var(--ivory) 0%, var(--paper) 200px, var(--paper) calc(100% - 200px), var(--ivory) 100%); }
.process::after {
  content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 60%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(205, 177, 132, 0.45), transparent);
  pointer-events: none;
}
.process { position: relative; }

/* ---------- Ghost chapter numbers ---------- */
.services__head > div, .genres__head > div, .about__copy, .reviews__head { position: relative; }
.services__head > div, .genres__head > div, .about__copy, .reviews__head { isolation: isolate; }
.ghost-num {
  position: absolute; left: -0.06em; top: -0.7em; z-index: -1;
  font-family: var(--font-display); font-weight: 300; font-style: normal;
  font-size: clamp(6.5rem, 3.6rem + 8vw, 12.5rem); line-height: 1; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 87, 0.2);
  pointer-events: none; user-select: none;
}
.genres__head .ghost-num { font-size: clamp(5rem, 3rem + 6vw, 9.5rem); top: -0.5em; }
.process .ghost-num { -webkit-text-stroke-color: rgba(205, 177, 132, 0.16); }

/* ---------- Glass layers float over the photographs ---------- */
.svc.is-active, .about__partner, .quotes, .why__grid, .genres__grid {
  -webkit-backdrop-filter: blur(14px) saturate(1.08); backdrop-filter: blur(14px) saturate(1.08);
}

/* ---------- Responsive: the photography recedes as the screen narrows ---------- */
@media (max-width: 1100px) {
  .ed-bg { --bg-k: 0.75; }
}
@media (max-width: 760px) {
  .ed-bg { --bg-k: 0.45; }
  .ed-bg.is-loaded .ed-bg__img { background-image: var(--bg-img-m); animation: none; }
  .ed-bg--svc { height: 34%; }
  .ed-bg--svc { --bg-mask: radial-gradient(80% 60% at 100% 0%, #000 10%, transparent 72%); }
  .ed-bg--about { --bg-mask: radial-gradient(90% 26% at 50% 0%, #000 10%, transparent 76%); }
  .ed-bg--rev { --bg-mask: radial-gradient(80% 30% at 100% 0%, #000 10%, transparent 76%); }
  .ghost-num { font-size: 4.8rem; top: -0.42em; }
  .genres__head .ghost-num { font-size: 4.6rem; }
  .svc.is-active, .about__partner, .quotes, .why__grid, .genres__grid { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-bg.is-loaded .ed-bg__img { animation: none; transition: none; }
}
.ed-bg ~ .container { position: relative; }

/* ==========================================================================
   v2.8 — Photographic environment, more present
   The same five library photographs, now clearly visible behind every
   content section. Each photo is pre-processed (assets/img/bg/*.webp):
   softly blurred, lower contrast, slightly desaturated and warmed toward
   cream — so no CSS blur runs on the page and the files are tiny
   (11–20 KB desktop, 6–10 KB mobile). Only the photo layer is blurred;
   text, cards, buttons and navigation are never filtered.
   Readability comes from warm veils placed behind the text columns, while
   the photograph stays open at the edges and in the whitespace.
   ========================================================================== */
.ed-bg__img { --bg-filter: none; -webkit-mask-image: none; mask-image: none; }
/* Veil sits over the photo; each veil gradient spans the whole section */
.ed-bg::after { z-index: 1; background: var(--bg-veil, none); background-size: 100% 100%; background-repeat: no-repeat; }
/* Paper grain + a soft warm vignette on top, for depth at the edges */
.ed-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: var(--grain), radial-gradient(120% 90% at 50% 50%, transparent 55%, var(--bg-vig, rgba(74, 52, 28, 0.14)) 100%);
  background-size: 100px 100px, 100% 100%;
}

/* Services + Ghostwriting specialties share one room: curved cream shelving */
.ed-bg--svc { bottom: 0; height: auto; }
.ed-bg--svc .ed-bg__img { left: 0; }
.ed-bg--svc {
  --bg-img: url("../images/backgrounds/services.webp");
  --bg-img-m: url("../images/backgrounds/services-m.webp");
  --bg-o: 1; --bg-pos: 75% 35%; --bg-mask: none;
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(246, 242, 234, 0) 9%, rgba(246, 242, 234, 0) 90%, rgba(246, 242, 234, 0.9) 100%),
    radial-gradient(34% 16% at 76% 15%, rgba(246, 242, 234, 0.62), rgba(246, 242, 234, 0) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0.84) 0%, rgba(246, 242, 234, 0.66) 30%, rgba(246, 242, 234, 0.2) 58%, rgba(246, 242, 234, 0.05) 100%);
}

/* Process stays dark: the warm library reads as a deep, lamp-lit room */

/* About + Why: shelving wall, open around the image, veiled behind the copy */
.ed-bg--about {
  --bg-img: url("../images/backgrounds/about.webp");
  --bg-img-m: url("../images/backgrounds/about-m.webp");
  --bg-o: 1; --bg-pos: 30% 40%; --bg-mask: none;
  --bg-veil:
    linear-gradient(180deg, rgba(246, 242, 234, 0) 0%, rgba(246, 242, 234, 0) 52%, rgba(246, 242, 234, 0.55) 72%, rgba(246, 242, 234, 0.45) 92%, var(--ivory) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0.2) 0%, rgba(246, 242, 234, 0.3) 36%, rgba(246, 242, 234, 0.82) 56%, rgba(246, 242, 234, 0.86) 100%);
}

/* Testimonials: a warm skylight around the quote card */
.ed-bg--rev {
  --bg-img: url("../images/backgrounds/reviews.webp");
  --bg-img-m: url("../images/backgrounds/reviews-m.webp");
  --bg-o: 1; --bg-pos: 50% 40%; --bg-mask: none;
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(237, 231, 220, 0) 16%, rgba(237, 231, 220, 0) 84%, var(--ivory) 100%),
    linear-gradient(90deg, rgba(237, 231, 220, 0.86) 0%, rgba(237, 231, 220, 0.72) 32%, rgba(237, 231, 220, 0.28) 55%, rgba(237, 231, 220, 0.15) 100%);
}

/* FAQ: the reading room stays visible on the left and edges; the questions sit on a calm veil */

/* Tablet: slightly calmer */
@media (max-width: 1100px) {
  .ed-bg { --bg-k: 0.9; }
}
/* Phones: content is one column, so the veil is even and the photo shows at the margins and between blocks */
@media (max-width: 760px) {
  .ed-bg { --bg-k: 0.85; }
}
/* Tablet & phone (content stacks into one column) */
@media (max-width: 960px) {
  .ed-bg__img { -webkit-mask-image: none; mask-image: none; }
  .ed-bg--svc, .ed-bg--about {
    --bg-veil:
      linear-gradient(180deg, var(--ivory) 0, rgba(246, 242, 234, 0.42) 260px, rgba(246, 242, 234, 0.42) calc(100% - 260px), var(--ivory) 100%);
  }
  .ed-bg--rev {
    --bg-veil:
      linear-gradient(180deg, var(--ivory) 0, rgba(237, 231, 220, 0.42) 220px, rgba(237, 231, 220, 0.42) calc(100% - 220px), var(--ivory) 100%);
  }
  .ed-bg--svc { height: auto; }
  /* Tall stacked sections: the photo stays viewport-sized and travels with the
     reader (like a fixed background), instead of being stretched over 4000px */
  .ed-bg__img {
    position: sticky; inset: auto; top: 0; left: 0 !important;
    width: 100%; height: 100vh; height: 100lvh;
    translate: none !important; transform: none;
    background-position: var(--bg-pos, center);
  }
}

/* ==========================================================================
   v2.9 — Recognisable photo, light frosted blur
   The photographs are no longer pre-blurred (assets/img/bg/*.webp are only
   warm-graded: ~15–20% cream tint, softened contrast, muted saturation).
   A light 4px blur is applied in CSS to the photo layer only — never to text,
   cards or navigation. The photo layer is viewport-sized and sticky at every
   width, so it is shown at ~1:1 scale instead of being stretched across a
   2000px section (the stretching is what made it look like a gradient).
   ========================================================================== */
.ed-bg__img {
  position: sticky; inset: auto; top: 0; left: 0 !important;
  width: 100%; height: 100vh; height: 100lvh;
  translate: none !important;
  --bg-filter: blur(4px) saturate(0.85) contrast(0.92) brightness(1.02);
  filter: var(--bg-filter);
  background-position: var(--bg-pos, center);
}
.ed-bg.is-loaded .ed-bg__img { animation: none; transform: scale(1.03); }
.ed-bg--svc, .ed-bg--about, .ed-bg--rev { --bg-o: 0.5; }

/* Lighter veils: a soft wash behind the text columns only */
.ed-bg--svc {
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(246, 242, 234, 0) 7%, rgba(246, 242, 234, 0) 92%, rgba(246, 242, 234, 0.8) 100%),
    radial-gradient(34% 16% at 76% 15%, rgba(246, 242, 234, 0.4), rgba(246, 242, 234, 0) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0.5) 0%, rgba(246, 242, 234, 0.34) 32%, rgba(246, 242, 234, 0) 60%);
}
.ed-bg--about {
  --bg-veil:
    linear-gradient(180deg, rgba(246, 242, 234, 0) 0%, rgba(246, 242, 234, 0) 55%, rgba(246, 242, 234, 0.3) 72%, rgba(246, 242, 234, 0.25) 92%, var(--ivory) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0) 0%, rgba(246, 242, 234, 0) 38%, rgba(246, 242, 234, 0.5) 58%, rgba(246, 242, 234, 0.5) 100%);
}
.ed-bg--rev {
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(237, 231, 220, 0) 12%, rgba(237, 231, 220, 0) 88%, var(--ivory) 100%),
    linear-gradient(90deg, rgba(237, 231, 220, 0.55) 0%, rgba(237, 231, 220, 0.4) 34%, rgba(237, 231, 220, 0) 55%);
}
@media (max-width: 1100px) { .ed-bg { --bg-k: 1; } }
@media (max-width: 960px) {
  .ed-bg--svc, .ed-bg--about {
    --bg-veil: linear-gradient(180deg, var(--ivory) 0, rgba(246, 242, 234, 0.3) 200px, rgba(246, 242, 234, 0.3) calc(100% - 200px), var(--ivory) 100%);
  }
  .ed-bg--rev {
    --bg-veil: linear-gradient(180deg, var(--ivory) 0, rgba(237, 231, 220, 0.3) 200px, rgba(237, 231, 220, 0.3) calc(100% - 200px), var(--ivory) 100%);
  }
}
@media (max-width: 760px) {
  .ed-bg { --bg-k: 0.85; }
  .ed-bg__img { --bg-filter: blur(3px) saturate(0.85) contrast(0.92) brightness(1.02); }
}

/* ==========================================================================
   v3.0 — Services: an editorial catalogue
   One featured service on the hero's dark "stage" surface, two medium
   ivory-glass panels, then a typeset index of the remaining services, and a
   quiet bridge into the Process section. Reuses the hero's tokens, glass,
   radii, book3d object and photography. Hero untouched.
   ========================================================================== */
.services__head .h2 { max-width: 17ch; }
.services__head .h2 em { display: block; }

.cat {
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
  gap: 18px; align-items: stretch;
}
.cat__n {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: 0.95rem; letter-spacing: 0.02em; color: var(--bronze-ink);
}
.cat__arrow {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid rgba(21, 23, 28, 0.14); background: rgba(255, 253, 249, 0.6); color: var(--ink);
  transition: transform 0.6s var(--ease-out), background 0.5s var(--ease-out), border-color 0.5s, color 0.5s;
}
.cat__arrow svg { width: 16px; height: 16px; }

/* ---- Featured: the hero's dark stage, in miniature ---- */
.cat-feature { position: relative; border-radius: 28px; min-height: 560px; }
.cat-feature__link {
  position: relative; isolation: isolate; overflow: hidden; display: grid; height: 100%;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end;
  padding: clamp(28px, 3.4vw, 48px); border-radius: 28px; color: var(--on-dark-1); text-decoration: none;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 40px 70px -40px rgba(0, 0, 0, 0.7), 0 12px 24px -16px rgba(0, 0, 0, 0.35);
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}
.cat-feature__bg { position: absolute; inset: 0; z-index: -1; }
.cat-feature__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: saturate(0.75) brightness(0.7) contrast(1.05); transform: scale(1.04);
  transition: transform 1.6s var(--ease-out);
}
.cat-feature__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(42% 46% at 74% 44%, rgba(222, 190, 140, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(13, 14, 18, 0.88) 0%, rgba(13, 14, 18, 0.62) 48%, rgba(13, 14, 18, 0.35) 100%),
    linear-gradient(180deg, rgba(13, 14, 18, 0.2) 0%, rgba(13, 14, 18, 0.7) 100%);
}
.cat-feature__copy { position: relative; display: grid; gap: 16px; align-self: end; max-width: 30ch; padding-bottom: 6px; }
.cat-feature__meta { display: flex; align-items: center; gap: 14px; }
.cat-feature__meta .cat__n { color: var(--bronze-2); }
.cat-feature__meta .label { color: var(--on-dark-3, rgba(250, 247, 241, 0.6)); }
.cat-feature__meta::after { content: ""; flex: 0 0 48px; height: 1px; background: rgba(205, 177, 132, 0.5); order: 1; }
.cat-feature__meta .label { order: 2; }
.cat-feature__title {
  font-family: var(--font-display); font-weight: 350; font-size: clamp(2.6rem, 1.6rem + 2.8vw, 4.2rem);
  line-height: 0.98; letter-spacing: -0.035em; color: var(--ivory);
}
.cat-feature__desc { color: var(--on-dark-2); font-size: 1.02rem; line-height: 1.6; }
.cat-feature__cta {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px;
  padding: 0 22px; height: 50px; border-radius: 999px;
  background: var(--ivory); color: var(--ink); font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}
.cat-feature__cta svg { width: 18px; height: 18px; transition: transform 0.6s var(--ease-out); }
.cat-feature__book {
  position: relative; align-self: center; justify-self: center; margin-top: -40px;
}
.cat-feature__book .book3d { --w: clamp(150px, 13vw, 214px); --t: 24px; --ry: -26deg; --rx: 3deg; transition: transform 1s var(--ease-out); }
.cat-feature__caption {
  position: absolute; right: 18px; bottom: 18px; display: grid; gap: 2px; padding: 11px 14px; border-radius: 16px;
  font-size: 0.78rem; color: var(--on-dark-2);
  background: linear-gradient(160deg, rgba(40, 42, 48, 0.6), rgba(20, 21, 26, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cat-feature__caption .label { color: var(--bronze-2); font-size: 0.6rem; }
.cat-feature__link:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 50px 80px -44px rgba(0, 0, 0, 0.75), 0 14px 28px -18px rgba(0, 0, 0, 0.4); }
.cat-feature__link:hover .cat-feature__bg img { transform: scale(1.07) translateX(-0.6%); }
.cat-feature__link:hover .cat-feature__cta svg { transform: translateX(4px); }
.cat-feature__link:hover .cat-feature__book .book3d { transform: translateY(-4px); }

/* ---- Second tier: two ivory-glass panels (like the hero's sidebar panels) ---- */
.cat-pair { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.cat-card {
  position: relative; overflow: hidden; display: grid; align-content: start;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n arrow" "t t" "d d";
  gap: 10px 16px; padding: 26px 28px 28px; border-radius: 24px; text-decoration: none; color: var(--ink);
  background: linear-gradient(160deg, rgba(255, 253, 249, 0.66), rgba(251, 247, 239, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(14px) saturate(1.08); backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 24px 44px -34px rgba(50, 34, 14, 0.45);
  transition: transform 0.7s var(--ease-out), border-color 0.6s var(--ease-out), box-shadow 0.7s var(--ease-out), background 0.6s;
}
.cat-card .cat__n { grid-area: n; }
.cat-card .cat__arrow { grid-area: arrow; }
.cat-card__title {
  grid-area: t; margin-top: auto; padding-top: 18px; max-width: 12ch;
  font-family: var(--font-display); font-weight: 380; font-size: clamp(1.8rem, 1.3rem + 1.1vw, 2.35rem); line-height: 1.04; letter-spacing: -0.025em;
}
.cat-card__desc { grid-area: d; max-width: 34ch; color: var(--on-light-2); font-size: 0.95rem; line-height: 1.6; position: relative; z-index: 1; }
.cat-card:hover { transform: translateY(-3px); border-color: rgba(205, 177, 132, 0.6); background: linear-gradient(160deg, rgba(255, 253, 249, 0.82), rgba(251, 247, 239, 0.6)); box-shadow: inset 0 1px 0 #fff, 0 30px 50px -34px rgba(50, 34, 14, 0.55); }
.cat-card:hover .cat__arrow, .cat-feature__link:hover .cat__arrow { transform: translate(2px, -2px); background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Editing: a quiet manuscript detail — ruled lines and one proofreader's mark */
.cat-card__mark {
  position: absolute; right: 30px; top: 86px; width: 128px; display: grid; gap: 11px; pointer-events: none; opacity: 0.9;
}
.cat-card__mark i { display: block; height: 1px; background: rgba(21, 23, 28, 0.14); }
.cat-card__mark i:nth-child(2) { width: 82%; }
.cat-card__mark i:nth-child(3) { width: 94%; position: relative; }
.cat-card__mark i:nth-child(3)::after {
  content: ""; position: absolute; left: 36%; top: -1px; width: 30%; height: 1px; background: var(--bronze);
}
.cat-card__mark i:nth-child(4) { width: 58%; }
.cat-card__mark::before {
  content: "\2038"; position: absolute; left: 48%; top: 28px; font-size: 1rem; line-height: 1; color: var(--bronze); font-family: var(--font-display);
}
/* Publishing: one finished book, peeking from the panel edge */
.cat-card--pub { padding-right: 150px; }
.cat-card--pub .cat__arrow { position: absolute; top: 26px; right: 28px; }
.cat-card__cover {
  position: absolute; right: 26px; bottom: -34px; width: 104px; aspect-ratio: 699 / 1024; border-radius: 3px 6px 6px 3px; overflow: hidden;
  transform: rotate(6deg); transform-origin: bottom right;
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.15) inset, 0 22px 30px -16px rgba(40, 26, 10, 0.55);
  transition: transform 0.9s var(--ease-out);
}
.cat-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-card--pub:hover .cat-card__cover { transform: rotate(4deg) translateY(-6px); }

/* ---- Index of further services: typeset, not carded ---- */
/* the three title-only entries sit a little tighter */

/* ---- Bridge into Process ---- */
.svc-path {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 40px;
  margin-top: clamp(64px, 7vw, 104px); padding-top: 26px; border-top: 1px solid rgba(21, 23, 28, 0.12);
}
.svc-path__label { margin: 0; color: var(--bronze-ink); }
.svc-path__steps { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 0; list-style: none; }
.svc-path__steps li {
  display: flex; align-items: center; gap: 10px; flex: 1 1 auto;
  font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--on-light-1); white-space: nowrap;
}
.svc-path__steps li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--bronze); flex: none; }
.svc-path__steps li:not(:last-child)::after { content: ""; flex: 1 1 auto; height: 1px; min-width: 18px; background: linear-gradient(90deg, rgba(176, 141, 87, 0.55), rgba(176, 141, 87, 0.15)); }
.svc-path__steps li:first-child::before { background: var(--bronze); }
.svc-path__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(21, 23, 28, 0.3); padding-bottom: 3px; }
.svc-path__link svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform 0.6s var(--ease-out); }
.svc-path__link:hover svg { transform: rotate(90deg) translateX(3px); }

/* ---- Responsive: keep the hierarchy, change the geometry ---- */
@media (max-width: 1100px) {
  .cat { grid-template-columns: minmax(0, 1fr); }
  .cat-feature { min-height: 480px; }
  .cat-pair { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .cat-card { min-height: 250px; }
  .cat-card__mark { top: auto; bottom: 28px; right: 28px; width: 96px; opacity: 0.6; }
  .cat-card--edit .cat-card__desc { padding-bottom: 60px; }
  .svc-path { grid-template-columns: minmax(0, 1fr) auto; }
  .svc-path__steps { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .services__head .h2 em { display: inline; }
  .cat-feature { min-height: 0; }
  .cat-feature__link { grid-template-columns: minmax(0, 1fr); padding: 26px 22px 24px; }
  .cat-feature__book { position: absolute; right: 18px; top: 20px; margin: 0; }
  .cat-feature__book .book3d { --w: 92px; --t: 14px; }
  .cat-feature__copy { padding-top: 150px; max-width: none; }
  .cat-feature__caption { position: static; margin-top: 22px; justify-self: start; }
  .cat-feature__title { font-size: 2.6rem; }
  .cat-pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cat-card { min-height: 0; padding: 22px; }
  .cat-card__title { padding-top: 6px; }
  .cat-card--pub { padding-right: 130px; }
  .cat-card__cover { width: 86px; right: 20px; bottom: -28px; }
  .cat-card__mark { display: none; }
  .cat-card--edit .cat-card__desc { padding-bottom: 0; }
  .svc-path { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .svc-path__steps { grid-row: auto; flex-wrap: wrap; justify-content: flex-start; row-gap: 12px; }
  .svc-path__steps li { flex: 0 0 auto; font-size: 1rem; }
  .svc-path__steps li:not(:last-child)::after { flex: 0 0 18px; }
  .svc-path__link { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-feature__link, .cat-card, .cat-feature__bg img, .cat-card__cover, .cat__arrow { transition: none; }
}
/* v3.0 fixes */
.cat-feature__book .book3d, .cat-feature__book .book3d__body, .cat-feature__book .book3d__back, .cat-feature__book .book3d__shadow { display: block; }
.cat-feature__book .book3d__cover { display: block; }
.svc-path { position: relative; border-top: 0; }
.svc-path::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(21, 23, 28, 0.12); }
.cat-card--pub .cat__arrow { grid-area: auto; }

/* ==========================================================================
   6. THE PUBLISHING JOURNEY — manuscript → finished book (replaces the old
   process block). Parchment intro, one continuous "desk" of four stages,
   a real ABS publication as the finished edition, then a quiet CTA.
   ========================================================================== */

/* Intro */

/* The desk: four stages read as one continuous composition */
/* Always visible by default — no script or observer is needed to show this section */

/* The finished edition */

@media (max-width: 860px) {
  /* vertical editorial sequence: every stage open, numbers kept */
}

/* ==========================================================================
   4. PUBLICATIONS — a publishing-house catalogue
   Opening → featured publication → the shelf (+ editorial filters) →
   statement → selected works index → dark ending.
   Shelf items keep the .bcard / .bcard__btn hooks that main.js reads; every
   base .bcard/.filters rule that would restyle them is neutralised below.
   ========================================================================== */
.pub { --pub-cream: #efe7da; --pub-paper: #f3ede3; --pub-oak: #e4d8c4; --pub-walnut: #5e4531; position: relative; background: var(--ivory); color: var(--ink); overflow: clip; }

/* ---------- Opening ---------- */

/* ---------- Featured publication ---------- */

/* ---------- The shelf ---------- */

.pub-shelf { --k: 1; --stage-h: calc(372px * var(--k)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; padding-top: 44px; }
.pub-shelf::-webkit-scrollbar { display: none; }
.pub-shelf.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pub-shelf.is-dragging .bcard__btn { pointer-events: none; }
/* the shelf itself: an oak top and a walnut front edge running under every book */
.pub .pub-book { --b: 176px; --w: calc(var(--b) * var(--k)); position: relative; z-index: 1; flex: none; width: max(calc(var(--w) + 44px), calc(170px * var(--k))); padding: 0 clamp(10px, 1.2vw, 20px); scroll-snap-align: start; box-sizing: border-box; transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out), filter 0.7s var(--ease-out); }
.pub .pub-book:nth-child(5n+1) { --b: 178px; } .pub .pub-book:nth-child(5n+2) { --b: 150px; } .pub .pub-book:nth-child(5n+3) { --b: 198px; } .pub .pub-book:nth-child(5n+4) { --b: 162px; } .pub .pub-book:nth-child(5n) { --b: 186px; }
.pub .pub-book__btn { display: grid; width: 100%; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; color: var(--ink); text-align: left; cursor: pointer; }
.pub .pub-book__btn:hover, .pub .pub-book__btn:focus-visible { transform: none; box-shadow: none; }
.pub .pub-book__btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; }
.pub .pub-book__btn:hover .book3d__body, .pub .pub-book__btn:focus-visible .book3d__body { translate: 0 -14px; }
.pub .pub-book__btn:hover .book3d__shadow, .pub .pub-book__btn:focus-visible .book3d__shadow { transform: scaleX(0.82); opacity: 1; }
.pub .pub-book.is-hidden { display: none; }
.pub .pub-book.is-entering { opacity: 0; transform: translateY(16px); }

/* ---------- Statement ---------- */

/* ---------- Selected works: an editorial index ---------- */

/* featured progress */

/* ---------- Ending ---------- */

/* ---------- Motion (enhancement: offset + softened, never hidden) ---------- */
.pub [data-pub-rv] { transition: opacity 1.3s var(--ease-out), transform 1.5s var(--ease-out); }
.pub-motion .pub [data-pub-rv]:not(.is-in) { opacity: 0.3; transform: translateY(36px); }
.pub-motion [data-pub-shelf]:not(.is-in) .pub-book { opacity: 0.3; transform: translateY(34px); }
[data-pub-shelf].is-in .pub-book:nth-child(2) { transition-delay: 0.08s; } [data-pub-shelf].is-in .pub-book:nth-child(3) { transition-delay: 0.16s; }
[data-pub-shelf].is-in .pub-book:nth-child(4) { transition-delay: 0.24s; } [data-pub-shelf].is-in .pub-book:nth-child(5) { transition-delay: 0.32s; }
[data-pub-shelf].is-in .pub-book:nth-child(6) { transition-delay: 0.4s; } [data-pub-shelf].is-in .pub-book:nth-child(n+7) { transition-delay: 0.48s; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .pub-shelf { --k: 0.82; }
}
@media (max-width: 560px) {
  .pub-shelf { --k: 0.74; }
}
@media (prefers-reduced-motion: reduce) {
  .pub [data-pub-rv], .pub .pub-book { transition: none; }
}

/* ---------- Real 3D mockups inside the existing book objects ----------
   .book3d.is-mockup shows the supplied mockup (cover, page edge and board already rendered)
   instead of building the book from a flat cover: same slot, same animations, no double 3D. */
.book3d.is-mockup { aspect-ratio: 600 / 1024; perspective: none; }
.book3d.is-mockup .book3d__body { transform: none; }
.book3d.is-mockup .book3d__body::before, .book3d.is-mockup .book3d__body::after, .book3d.is-mockup .book3d__back { display: none; }
.book3d.is-mockup .book3d__cover { transform: none; object-fit: contain; border-radius: 0; background: none; backface-visibility: visible; filter: drop-shadow(12px 20px 18px rgba(0, 0, 0, 0.32)) drop-shadow(2px 3px 3px rgba(0, 0, 0, 0.2)); }
.book3d.is-mockup .book3d__shadow { left: 2%; right: 4%; bottom: -2%; }
.book3d.is-mockup .book3d__shadow::after { display: none; }
.stage__book.is-mockup .book3d__body { animation: mockFloat 8s 2s ease-in-out infinite; }
@keyframes mockFloat { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .stage__book.is-mockup .book3d__body { animation: none; } }

/* ---------- Continuous shelf (shelf-loop.js) ----------
   The stage is tall enough for the tallest mockup (198px wide → 338px tall) plus its hover
   lift, so no book is ever clipped at the top; every book stands on the same shelf line.
   The loop drives the scroll position itself, so snapping is off while it runs. */
.pub-shelf.is-loop { scroll-snap-type: none; }

/* ==========================================================================
   Homepage Contact — "The next chapter" (all rules scoped to .ct / .ct-*)
   Opening → plate → details + form → next steps → closing statement → direct lines.
   Visible without JS; reveals only soften/offset, never hide.
   ========================================================================== */

/* ---------- Opening ---------- */

/* ---------- Plate ---------- */

/* ---------- Details + form ---------- */

/* services: editorial text options with a hairline box */

/* journey: a ruled line of stages, the chosen one underlined in bronze */

/* details */

/* ---------- What happens next ---------- */

/* ---------- Closing statement ---------- */

/* ---------- Direct lines ---------- */

/* ---------- Reveals ---------- */

/* ---------- Responsive ---------- */

/* ==========================================================================
   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); }
.rw-dark .rw-eyebrow { color: var(--bronze-2); }
.rw-dark .rw-h2 { color: var(--ivory); }
.rw-dark .rw-h2 em { color: var(--bronze-2); }
.rw-dark .rw-lead { color: var(--on-dark-2); }
.rw-dark .rw-link { color: var(--ivory); border-color: var(--bronze-2); }

/* ---------- 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; }
.rw-dark .rw-now { border-color: rgba(250, 247, 241, 0.14); }
.rw-dark .rw-now .rw-cap__t { color: var(--ivory); }
.rw-dark .rw-now .rw-cap__s { color: var(--on-dark-2); }
.rw-dark .rw-now .rw-cap__a, .rw-dark .rw-now__n { color: var(--bronze-2); }
.rw-dark .rw-now__hint { color: var(--on-dark-3); }
.rw-dark .rw-table__surface { background: linear-gradient(180deg, rgba(214, 186, 140, 0.16), rgba(214, 186, 140, 0) 90%); border-top-color: rgba(214, 186, 140, 0.4); }
.rw-dark .rw-book__floor { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.7), transparent); }
.rw-dark .rw-book__img { filter: drop-shadow(12px 20px 20px rgba(0, 0, 0, 0.5)); }
.rw-dark .rw-book:hover .rw-book__img, .rw-dark .rw-book:focus-visible .rw-book__img { filter: drop-shadow(16px 30px 28px rgba(0, 0, 0, 0.6)) brightness(1.04); }

/* ---------- Homepage: Selected work (dark gallery) ---------- */
.rw-sel { position: relative; isolation: isolate; overflow: clip; padding: clamp(96px, 11vw, 150px) 0 clamp(64px, 7vw, 96px); background: #15130f; color: var(--on-dark-1); }
.rw-sel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 60% at 50% 72%, rgba(214, 186, 140, 0.2), transparent 70%), radial-gradient(30% 40% at 12% 10%, rgba(176, 141, 87, 0.1), transparent 70%); }
.rw-sel__rule { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; margin-bottom: clamp(40px, 5vw, 70px); border-top: 1px solid rgba(214, 186, 140, 0.5); border-bottom: 1px solid rgba(250, 247, 241, 0.12); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-dark-2); }
.rw-sel__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px clamp(40px, 6vw, 100px); align-items: end; margin-bottom: clamp(20px, 3vw, 40px); }
.rw-sel__side { display: grid; gap: 28px; justify-items: start; }
.rw-sel .rw-now { margin-top: 18px; }

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

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

/* ---------- 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: 900px) {
  .rw-sel__head { 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-dark .rw-table__book .rw-cap__t { color: var(--ivory); }
  .rw-dark .rw-table__book .rw-cap__s { color: var(--on-dark-2); }
  .rw-dark .rw-table__book .rw-cap__a { color: var(--bronze-2); }
  .rw-dark .rw-table__book .rw-cap__go { color: var(--on-dark-2); }
  .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; }
}
@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; } }

/* homepage placements */
.rw-sel__links { display: flex; flex-wrap: wrap; gap: 14px 30px; }

/* ---------- Services: the complete house (svhome.py) ---------- */
.sv-house { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 70px); padding-top: 28px; border-top: 1px solid rgba(21, 23, 28, 0.16); position: relative; }
.sv-house::before { content: ""; position: absolute; left: 0; top: -1px; width: 72px; height: 1px; background: var(--bronze); }
.sv-house__head { display: grid; grid-template-columns: minmax(180px, 0.3fr) minmax(0, 0.7fr) minmax(0, 0.8fr); gap: 12px 40px; align-items: end; margin-bottom: clamp(26px, 3vw, 40px); }
.sv-house__head .label { color: var(--bronze-ink); margin: 0; align-self: start; padding-top: 6px; }
.sv-house__title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.8rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); }
.sv-house__title em { font-style: italic; color: var(--bronze-ink); }
.sv-house__lead { margin: 0; max-width: 44ch; font-size: 0.95rem; line-height: 1.7; color: var(--on-light-2); }
.sv-house__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 36px); align-items: start; }
.sv-house__col { min-width: 0; }
.sv-house__colhead { display: flex; align-items: baseline; gap: 10px; padding: 14px 0 12px; border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(21, 23, 28, 0.14); }
.sv-house__colhead h4 { margin: 0; flex: 1; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }
.sv-house__n { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; color: var(--bronze-ink); }
.sv-house__c { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; color: var(--on-light-3); }
.sv-house__col ul { margin: 0; padding: 0; list-style: none; }
.sv-house__col li { position: relative; border-bottom: 1px solid rgba(21, 23, 28, 0.1); }
.sv-house__col li::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--bronze); transition: width 0.8s var(--ease-out); }
.sv-house__col li:hover::after, .sv-house__col li:focus-within::after { width: 100%; }
.sv-house__col a { display: grid; grid-template-columns: minmax(0, 1fr) 16px; grid-template-areas: "t go" "d go"; gap: 4px 10px; padding: 15px 2px; color: var(--ink); text-decoration: none; }
.sv-house__t { grid-area: t; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; line-height: 1.2; letter-spacing: -0.012em; transition: color 0.4s; }
.sv-house__t em { margin-left: 6px; font-family: var(--font-sans); font-style: normal; font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-ink); vertical-align: 3px; }
.sv-house__d { grid-area: d; font-size: 0.8rem; line-height: 1.55; color: var(--on-light-2); }
.sv-house__col a svg { grid-area: go; width: 15px; height: 15px; margin-top: 4px; color: var(--bronze); transition: transform 0.5s var(--ease-out); }
.sv-house__col a:hover .sv-house__t, .sv-house__col a:focus-visible .sv-house__t { color: var(--bronze-ink); }
.sv-house__col a:hover svg, .sv-house__col a:focus-visible svg { transform: translate(2px, -2px); }
@media (max-width: 1100px) { .sv-house__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; } .sv-house__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sv-house__head .label { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sv-house__grid, .sv-house__head { grid-template-columns: minmax(0, 1fr); } }

/* Contact form — optional manuscript upload */

/* Services menu, header fit, logo and footer badge (added while packaging) */
.nav__sub--mega { width: min(940px, calc(100vw - 60px)); padding: 14px 14px 10px; background: rgba(251, 249, 245, 0.97); }
.nav__mega { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.nav__mega-col { padding: 4px 4px 8px; }
.nav__mega-col + .nav__mega-col { border-left: 1px solid rgba(21, 23, 28, 0.08); padding-left: 10px; }
.nav__mega-h { display: flex; align-items: baseline; gap: 8px; margin: 6px 8px 8px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-ink, #7a5a2e); }
.nav__mega-h span { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 0.8rem; }
.nav__sub--mega ul { padding: 0; gap: 1px; }
.nav__sub--mega a { gap: 10px; padding: 6px 8px; font-size: 0.83rem; line-height: 1.25; }
.nav__sub--mega a i { width: 28px; height: 28px; border-radius: 9px; }
.nav__sub--mega a i svg { width: 14px; height: 14px; }
.nav__sub--mega a em { flex: none; margin-left: auto; width: 1.44727rem; height: 0.675rem; }
.nav__sub--mega a[aria-current] { background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.nav__mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 10px 10px 2px; border-top: 1px solid rgba(21, 23, 28, 0.08); font-family: var(--font-display); font-style: italic; font-size: 0.86rem; color: #6b665d; }
.nav__mega-foot div { display: flex; gap: 18px; }
.nav__sub--mega .nav__mega-foot a { padding: 0 0 2px; border-radius: 0; font-family: var(--font-sans, inherit); font-style: normal; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid rgba(176, 141, 87, 0.7); background: none; }
.mobile-menu__sub .mobile-menu__grp { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(21, 23, 28, 0.08); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-ink, #7a5a2e); }
.mobile-menu__sub .mobile-menu__grp:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 1360px) { .nav__menu .nav__link { padding: 0 8px; font-size: 0.85rem; } }
.nav__logo img{aspect-ratio:518/200}@media (max-width:1480px){.nav__phone span{display:none}.nav__phone{width:42px;padding:0;justify-content:center}.nav__menu .nav__link{padding:0 8px;font-size:.85rem}}@media (min-width:1481px){.site-header.is-scrolled .nav{width:var(--shell-w)}.nav__menu .nav__link{padding:0 12px}}.footer__badges a.dmca-badge{display:inline-flex;line-height:0}.footer__badges a.dmca-badge img{height:64px;width:auto}
