/* 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--dark  { background: var(--ink); color: var(--on-dark-1); }
.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); }
.section--dark .h2 em, .on-dark .display em, .on-dark .h2 em, .section--dark .display 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; }
.section--dark .lead, .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); }
.section--dark .eyebrow, .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, .section--dark .btn--primary, .btn--light { --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, .section--dark .btn--primary:hover, .btn--light: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; }

/* ---------- 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; }

/* In-shell rail */

/* Sidebar panels */

/* Main column */

/* ---------- 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);
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Book discovery ---------- */
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; min-width: 0; }
.filters::-webkit-scrollbar { display: none; }
.filters__btn {
  flex: none; height: 38px; padding: 0 16px; border-radius: var(--r-pill); font-size: 0.83rem; font-weight: 600; color: #4a463f;
  background: rgba(255, 255, 255, 0.46); border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px -8px rgba(40, 28, 12, 0.5);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filters__btn:hover { background: rgba(255, 255, 255, 0.85); color: var(--ink); }
.filters__btn.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.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 ---------- */

/* ---------- Hero responsive ---------- */
@media (max-width: 1320px) {
  .stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
@media (max-width: 1100px) {
  .hero { padding-top: 86px; }
  .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; }
}
@media (max-width: 760px) {
  .shelf { --card-w: 46vw; }
}
@media (max-width: 480px) {
  .hero { padding-top: 78px; }
  .shelf { --card-w: 52vw; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.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); }
.genre { padding: 24px 0 30px; border-top: 1px solid var(--line-light); }
.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) {
  .svc-visual { display: none; }
}

/* ==========================================================================
   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
   ========================================================================== */

/* ==========================================================================
   Testimonials
   ========================================================================== */

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__head { position: sticky; top: 104px; }
.faq__head .h2 { max-width: 12ch; }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line-light); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  font-family: var(--font-display); font-weight: 380; font-size: clamp(1.12rem, 1rem + 0.45vw, 1.45rem); line-height: 1.35; letter-spacing: -0.012em;
  transition: color var(--t-fast);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #000; }
.qa summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.45s var(--ease-out); }
.qa[open] summary i { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.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) { .faq__grid { grid-template-columns: 1fr; } .faq__head { position: static; } .qa__a p { padding-right: 0; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--on-dark-1); padding-block: clamp(96px, 11vw, 160px); background: var(--ink); }
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; filter: saturate(0.6) brightness(0.5); }
.cta__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 50% at 78% 50%, rgba(214, 186, 140, 0.14), transparent 70%), linear-gradient(90deg, rgba(13, 14, 18, 0.95) 0%, rgba(13, 14, 18, 0.72) 55%, rgba(13, 14, 18, 0.6) 100%); }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.cta__title { font-size: clamp(2.8rem, 1.6rem + 3.7vw, 5rem); margin-bottom: 24px; max-width: 14ch; }

.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__title { font-family: var(--font-display); font-weight: 380; font-size: 1.6rem; letter-spacing: -0.018em; line-height: 1.15; margin: 0; }
.lead-form__sub { margin: -6px 0 4px; color: var(--on-dark-2); font-size: 0.9rem; }
.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: 960px) { .cta__grid { grid-template-columns: 1fr; } }
@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) */

/* ==========================================================================
   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 */
.faq__head .h2 { letter-spacing: -0.032em; line-height: 1.02; }
.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 ---------- */
.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 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 ---------- */

/* ---------- Testimonials ---------- */
.reviews { background: radial-gradient(60% 50% at 80% 50%, rgba(214, 186, 140, 0.12), transparent 70%), var(--paper); }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid rgba(21, 23, 28, 0.85); }
.qa { position: relative; transition: background 0.6s var(--ease-out); }
.qa::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--bronze); transition: width 0.8s var(--ease-out); }
.qa[open]::before { width: 72px; }
.qa summary { padding: 26px 0; transition: color var(--t-fast), padding 0.5s var(--ease-out); }
.qa summary:hover { padding-left: 6px; }
.qa summary i { width: 42px; height: 42px; background: rgba(255, 253, 249, 0.8); border-color: rgba(21, 23, 28, 0.12); box-shadow: 0 6px 16px -12px rgba(40, 28, 12, 0.5); }
.qa summary:hover i { border-color: rgba(176, 141, 87, 0.6); }
.qa[open] summary i { background: var(--ink); border-color: var(--ink); color: var(--bronze-2); }
.qa__a p { line-height: 1.75; }

/* ---------- Responsive guards ---------- */
@media (max-width: 960px) {
  .svc-visual { display: none; }
}
@media (max-width: 600px) {
  .svc + .svc::before { left: 14px; right: 14px; }
  .svc--compact { padding: 18px 14px 4px; }
  .genre { padding: 24px 22px; }
}

/* ==========================================================================
   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,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAWB0lEQVR42m1cUZIkKw7T4k4iOUfdZe9/G6IIHOwHsjA1+z7eTE9XZZGkLcuyqP/8t2LAABgGgAoAcDgaBhxAQ4fxt/u//VPDgGFgv9/T6wwOAKhwABUDgMN45QrnT/Ee8PXx7qprOAwVXf/frwE6DM7X7OvVAofxn00f6DB0VBga3zDQYACaFhgfZmkbwEUDxlfsj4nlV95K5d/Bq57rNr5ib2lcZW/Y3pSOAcD4jljtsM/CA0PBFwvAgy+ABwuvlvYA/Klw+XuBD39yLDxYKABeFDiAxf0vcLxYmACACYNjAihwPJgwfFFQMFDxxcLSJi0UFBRMLBgWFgDDw1UCCxOOgokGwP503xEa51HvENu7vMOu6/+AofOVNYWTcwf3Hu6fOp/hfmVNT66iM4QrY6EyoHGFcgS/63cRB7GOWmAYGIxB15vPR4KPG3ykzhvfYQA0bsIOocEg6ryJpvBrCtyh4Ni3adyyiPqmUG9cC5RZpqA7NwoYYJ+lsDEG0sS+vYkKg6MAWHy4O0weOIMQKEAKhIfXWqiYWHAUPPjiRedVgAcVBROTmzAZZIvhta+yP7FgYfL5LjgmChwLxusXXsvss5dqKLznyR0J1Ng5sPdhL75g8nWT+/FFAfi6l7c50ODMEMdkeO3rTRijvKGjoMAwAUxUVCxMFCxu4n6/Met2bu11PoychQej8DGOFCydgGcMLtPjDoSrCTBB9DA0/nvnNnQC7BAi7fcedGzcrqGQGuhCvciAyveBkB1bPPi3vZTPSUxgMkBeAF88KVuKHnYg+L6xB5PLLvgK7wscjfsOFLx8dkvBNlExiV9Fwbuf08a9h1mwMLEALBhRzwRD4GcUuH0cVRlQsfiw9ot2GBU86Ch4CHwg1EaZbIzujSeVETwYv8DD2J548XC5homX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ZAD6UwHkTxsI30xmF8T4rCRdR38v8+ZnCDx60xpsIyWgsrSAY/4zeCREY8jriFVn2/SGpeOV9MR13G5RbJ76C5quA4jtTQ2rRJ/WvLGIQW4JbcQkl4foDPUK54TJvV/MiV7p6pPWEwAAAAASUVORK5CYII=");
}

.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 ---------- */

/* ---------- 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 ---------- */
.ed-bg--faq {
  --bg-img: url("../images/photos/1777734583722-8259e9f714a6-1400.webp");
  --bg-img-m: none;
  --bg-o: 0.16;
  --bg-pos: 40% 60%;
  --bg-mask: radial-gradient(40% 48% at 0% 96%, #000 14%, transparent 76%);
  --bg-veil: linear-gradient(90deg, transparent 0%, rgba(246, 242, 234, 0.4) 40%, var(--ivory) 58%);
}

/* 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, .cta::before {
  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 ---------- */
.faq__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;
}
.process .ghost-num { -webkit-text-stroke-color: rgba(205, 177, 132, 0.16); }

/* ---------- Glass layers float over the photographs ---------- */
.svc.is-active {
  -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--rev { --bg-mask: radial-gradient(80% 30% at 100% 0%, #000 10%, transparent 76%); }
  .ghost-num { font-size: 4.8rem; top: -0.42em; }
  .svc.is-active { -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 */

/* 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 */
.ed-bg--faq {
  --bg-img: url("../images/backgrounds/faq.webp");
  --bg-img-m: url("../images/backgrounds/faq-m.webp");
  --bg-o: 1; --bg-pos: 30% 60%; --bg-mask: none;
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(246, 242, 234, 0) 12%, rgba(246, 242, 234, 0) 88%, rgba(246, 242, 234, 0.6) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0.4) 0%, rgba(246, 242, 234, 0.55) 34%, rgba(246, 242, 234, 0.84) 46%, rgba(246, 242, 234, 0.86) 100%);
}

/* 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--faq {
    --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--rev, .ed-bg--faq { --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--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%);
}
.ed-bg--faq {
  --bg-veil:
    linear-gradient(180deg, var(--ivory) 0%, rgba(246, 242, 234, 0) 10%, rgba(246, 242, 234, 0) 90%, rgba(246, 242, 234, 0.5) 100%),
    linear-gradient(90deg, rgba(246, 242, 234, 0.15) 0%, rgba(246, 242, 234, 0.3) 36%, rgba(246, 242, 234, 0.6) 46%, rgba(246, 242, 234, 0.62) 100%);
}
@media (max-width: 1100px) { .ed-bg { --bg-k: 1; } }
@media (max-width: 960px) {
  .ed-bg--svc, .ed-bg--faq {
    --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.
   ========================================================================== */
.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);
}

/* ---- Featured: the hero's dark stage, in miniature ---- */

/* ---- Second tier: two ivory-glass panels (like the hero's sidebar panels) ---- */

/* Editing: a quiet manuscript detail — ruled lines and one proofreader's mark */
/* Publishing: one finished book, peeking from the panel edge */

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

/* ---- Bridge into Process ---- */

/* ---- Responsive: keep the hierarchy, change the geometry ---- */
/* v3.0 fixes */

/* 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}
