/* ============================================================
   BOOK.CSS — The Reading Room
   ============================================================ */

.book-page {
  --book-blue: #004392;
  --book-blue-deep: #013a75;
  --book-blue-mid: #1a5fa8;
  --book-blue-bright: #1e6fd9;
  --book-blue-soft: #6f9bd8;
  --book-ink: #222222;
  --book-muted: #4a4a4a;
  --book-tag: #2c2c2c;
  --book-tag-edge: #3a3a3a;
  --book-paper: #f5f5f5;
  --book-white: #ffffff;
  --book-font: Arial, Helvetica, sans-serif;
  --book-script: "Great Vibes", cursive;

  color: var(--book-ink);
  font-family: var(--book-font);
  background: var(--book-blue-deep);
  overflow: visible;
}

.book-main {
  padding-top: 64px;
  overflow: visible;
}

.book-page .site-header.is-stuck {
  background: rgba(1, 58, 117, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.book-page section {
  min-height: 0;
  scroll-snap-align: none;
}

/* Reveal */
[data-book-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-book-anim].book-anim--visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   1. HERO
   ============================================================ */

.book-hero {
  background: var(--book-blue);
  color: var(--book-white);
  overflow: hidden;
}

.book-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - 64px);
  max-width: 1440px;
  margin: 0 auto;
}

.book-hero__copy {
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-hero__title {
  margin: 0 0 0.35rem;
  font-family: var(--book-font);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--book-white);
}

.book-hero__subtitle {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.book-hero__body {
  max-width: 38rem;
}

.book-hero__body p {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.book-hero__body p:last-child {
  margin-bottom: 0;
}

.book-hero__brand {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  font-weight: 600;
  color: #fff !important;
}

.book-hero__visual {
  position: relative;
}

.book-hero__portrait {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: end;
  z-index: 1;
}

.book-hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
  animation: book-portrait-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes book-portrait-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.book-hero__identity {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(1.5rem, 8vh, 4rem);
  text-align: left;
}

.book-hero__name {
  margin: 0 0 0.85rem;
  font-family: var(--book-script);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--book-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: book-name-in 1s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes book-name-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.book-hero__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.book-hero__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.book-hero__contacts a:hover,
.book-hero__contacts a:focus {
  color: #fff;
}

.book-hero__contacts svg {
  flex-shrink: 0;
  opacity: 0.95;
}

/* ============================================================
   2. EVERY THOUGHT HAS A SHELF
   ============================================================ */

.book-shelf-intro {
  background: #d8d8d8;
  color: #fff;
  overflow: hidden;
}

.book-shelf-intro__frame {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(280px, 640px) minmax(100px, 1fr);
  min-height: clamp(640px, 85vh, 900px);
  max-width: none;
  width: 100%;
  margin: 0;
}

.book-shelf-intro__side {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background-color: #cfcfcf;
  background-repeat: repeat-x;
  background-size: 200px 100%;
  filter: grayscale(1) contrast(1.05);
}

.book-shelf-intro__side--left {
  background-image: url("../images/book-self-left.jpg");
  background-position: right top;
}

.book-shelf-intro__side--right {
  background-image: url("../images/book-self-right.jpg");
  background-position: left top;
}

.book-shelf-intro__side img {
  display: none;
}

.book-shelf-intro__center {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.35rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(40, 40, 40, 0.92) 0%, rgba(28, 28, 28, 0.95) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 3px
    );
  background-color: #2b2b2b;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.book-shelf-intro__title {
  margin: 0 0 1.75rem;
  font-family: var(--book-font);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

.book-shelf-intro__body {
  max-width: 36rem;
  margin: 0 auto;
  text-align: left;
}

.book-shelf-intro__body p {
  margin: 0 0 1.15rem;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.book-shelf-intro__body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   2b. STATS STRIP (separate section)
   ============================================================ */

.book-stats {
  background: #014292;
  color: #fff;
  padding: clamp(3.25rem, 6vw, 5rem) 1.25rem;
}

.book-stats__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.book-stat {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  height: auto;
}

.book-stat:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.book-stat__pointer {
  position: relative;
  z-index: 2;
  width: 104px;
  height: 90px;
  margin: 0 0 -18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
  border: 0;
}

.book-stat__pointer img,
.book-stat__pointer svg {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.book-stat__circle {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #012f6b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.28);
  margin-bottom: 1rem;
}

.book-stat__num {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.book-stat__label {
  display: block;
  min-height: 2.6em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #fff;
  text-transform: none;
}

/* ============================================================
   3. BOOKSHELF SECTIONS  (match ref: BOOKSHELF I)
   ============================================================ */

.book-shelf {
  --book-shelf-font: "Arial", Helvetica, sans-serif;
  --book-shelf-accent: #9bb3d0;
  --book-shelf-bar: #014292;
  position: relative;
  color: #fff;
  overflow: hidden;
  font-family: var(--book-shelf-font);
}

.book-shelf h1,
.book-shelf h2,
.book-shelf h3,
.book-shelf h4,
.book-shelf h5,
.book-shelf h6,
.book-shelf p,
.book-shelf a,
.book-shelf button,
.book-shelf span,
.book-shelf li {
  font-family: var(--book-shelf-font);
}

.book-shelf__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.book-shelf__bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.book-shelf--bg1 .book-shelf__bg {
  background-image: url("../images/book-bg-01.jpg");
  filter: grayscale(1) contrast(1.12) brightness(0.68);
}

.book-shelf--bg1 .book-shelf__bg::after {
  background: rgba(18, 20, 24, 0.52);
}

.book-shelf--bg2 .book-shelf__bg {
  background-image: url("../images/book-bg-02.jpg");
  filter: none;
}

.book-shelf--bg2 .book-shelf__bg::after {
  background: rgba(1, 40, 100, 0.28);
}

.book-shelf__inner.container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.book-shelf__header {
  margin-bottom: 0;
}

.book-shelf__roman {
  margin: 0 0 0.75rem;
  font-family: var(--book-shelf-font);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.98;
}

.book-shelf__banner {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 1.1rem;
  background: #fff;
  padding: 0.62rem 1.5rem 0.68rem;
}

.book-shelf__subtitle {
  margin: 0;
  font-family: var(--book-shelf-font);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--book-shelf-bar);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.book-shelf__tagline {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--book-shelf-font);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--book-shelf-accent);
}

.book-shelf__rule {
  width: 100%;
  height: 1px;
  margin: 0.7rem 0 0;
  background: rgba(255, 255, 255, 0.72);
}

.book-shelf__intro {
  max-width: none;
  margin: 1.25rem 0 2.1rem;
}

.book-shelf__intro p {
  margin: 0 0 1rem;
  font-family: var(--book-shelf-font);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
  font-weight: 400;
  color: #fff;
}

.book-shelf__intro p:last-child {
  margin-bottom: 0;
}

.book-shelf__explore {
  margin-bottom: 2.75rem;
}

.book-shelf__explore-label {
  margin: 0 0 0.95rem;
  font-family: var(--book-shelf-font);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0;
  color: #fff;
}

.book-shelf__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem 0.8rem;
}

.book-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 0.95rem 0.85rem;
  text-align: center;
  font-family: var(--book-shelf-font);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(0, 11, 25, 0.5) 0%,
    rgba(51, 86, 104, 0.62) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.book-shelf__collections {
  display: grid;
  gap: 2.35rem 3.25rem;
  align-items: start;
}

.book-shelf__collections--2,
.book-shelf__collections--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-collection {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.book-collection__title {
  margin: 0 0 0.65rem;
  font-family: var(--book-shelf-font);
  font-size: clamp(1.15rem, 1.75vw, 1.4rem);
  font-weight: 700;
  color: var(--book-shelf-accent);
  line-height: 1.2;
}

.book-collection__count {
  display: none;
}

.book-collection__blurb {
  margin: 0 0 1.2rem;
  max-width: none;
  font-family: var(--book-shelf-font);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  font-weight: 400;
  color: #fff;
}

.book-collection__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 236px;
  padding: 0.38rem 0.4rem 0.38rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #6bc4f2 0%, #3fa1e4 45%, #2b7fd0 100%);
  color: #0d1b2a;
  font-family: var(--book-shelf-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.book-collection__btn:hover,
.book-collection__btn:focus {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.38);
}

.book-collection__btn-label {
  color: #0d1b2a;
}

.book-collection__btn-play {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.book-collection__btn-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #111;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.book-collection__btn.is-open .book-collection__btn-play {
  background: #111;
}

.book-collection__btn.is-open .book-collection__btn-play::after {
  border-color: transparent transparent transparent #fff;
  transform: translate(-50%, -50%) rotate(90deg);
}

.book-collection__links {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.book-collection__links ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.book-collection__links a {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: var(--book-shelf-font);
  font-size: 0.86rem;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}

.book-collection__links a:hover,
.book-collection__links a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.book-collection__link-num {
  flex-shrink: 0;
  color: #5eb8f0;
  font-weight: 700;
}

.book-collection__link-label {
  display: inline-block;
  word-break: break-word;
}

.book-collection__link-label::first-letter {
  text-transform: uppercase;
}

/* ============================================================
   4. CLOSE / FOOTER  (Beyond LinkedIn � match ref)
   ============================================================ */

.book-close {
  --book-close-font: "Montserrat", Arial, Helvetica, sans-serif;
  --book-close-cyan: #6ed8f5;
  --book-close-bg: #014292;
  position: relative;
  background: var(--book-close-bg);
  color: #fff;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 2.5vw, 1.75rem) clamp(2.5rem, 4.5vw, 3.5rem);
}

.book-close h1,
.book-close h2,
.book-close h3,
.book-close p,
.book-close a,
.book-close span {
  font-family: var(--book-close-font);
}

.book-close__panel {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.book-close__arcs {
  position: absolute;
  top: -80px;
  left: -100px;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(126, 200, 232, 0.2) 43%, transparent 44%),
    radial-gradient(circle at center, transparent 52%, rgba(126, 200, 232, 0.16) 53%, transparent 54%),
    radial-gradient(circle at center, transparent 62%, rgba(126, 200, 232, 0.14) 63%, transparent 64%),
    radial-gradient(circle at center, transparent 72%, rgba(126, 200, 232, 0.12) 73%, transparent 74%),
    radial-gradient(circle at center, transparent 82%, rgba(126, 200, 232, 0.1) 83%, transparent 84%);
  mask-image: radial-gradient(circle at 28% 28%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 28% 28%, #000 0%, transparent 70%);
}

.book-close__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  align-items: end;
}

.book-close__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  padding-top: 0;
  height: 100%;
}

.book-close__portrait {
  position: relative;
  width: min(100%, 380px);
}

.book-close__portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.35));
}

.book-close__star {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  background: #012a5c;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.95;
}

.book-close__star--top {
  top: 2%;
  right: 12%;
  width: 16px;
  height: 16px;
}

.book-close__star--bottom {
  bottom: 8%;
  left: 6%;
  width: 20px;
  height: 20px;
}

.book-close__copy {
  padding-top: 0.35rem;
}

.book-close__block + .book-close__block {
  margin-top: 2rem;
}

.book-close__title {
  margin: 0 0 0.95rem;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--book-close-cyan);
}

.book-close__block p {
  margin: 0 0 0.75rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  font-weight: 400;
  color: #fff;
}

.book-close__block p:last-child {
  margin-bottom: 0;
}

.book-close__outro {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 52rem;
}

.book-close__outro p {
  margin: 0 0 0.75rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #fff;
}

.book-close__outro p:last-child {
  margin-bottom: 0;
}

.book-close__emphasis {
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {
  .book-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .book-hero__copy {
    padding-bottom: 1.5rem;
  }

  .book-hero__visual {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 0.7fr);
    min-height: 480px;
    padding-top: 0;
  }

  .book-hero__portrait {
    justify-self: center;
  }

  .book-shelf-intro__frame {
    grid-template-columns: minmax(80px, 1fr) minmax(0, 560px) minmax(80px, 1fr);
    min-height: 0;
  }

  .book-shelf-intro__side {
    background-size: 140px 100%;
  }

  .book-shelf__tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .book-shelf__collections--2,
  .book-shelf__collections--4 {
    grid-template-columns: 1fr;
  }

  .book-close__grid {
    grid-template-columns: 1fr;
  }

  .book-close__visual {
    order: 0;
    max-width: 360px;
    margin: 0 auto;
  }

  .book-close__portrait {
    width: min(100%, 320px);
  }
}

@media (max-width: 767.98px) {
  .book-main {
    padding-top: 56px;
  }

  .book-hero__visual {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .book-hero__identity {
    padding-bottom: 0.5rem;
    text-align: center;
    margin-top: -1rem;
  }

  .book-hero__contacts {
    align-items: center;
  }

  .book-shelf-intro__frame {
    grid-template-columns: 1fr;
  }

  .book-shelf-intro__side {
    height: 160px;
    background-size: auto 160px;
    background-repeat: repeat-x;
  }

  .book-shelf-intro__side--left {
    background-position: center top;
  }

  .book-shelf-intro__side--right {
    order: 3;
    background-position: center top;
  }

  .book-shelf-intro__title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .book-shelf-intro__body {
    text-align: left;
  }

  .book-shelf__tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-stat {
    width: 180px;
  }

  .book-stat__circle {
    width: 110px;
    height: 110px;
  }

  .book-stat__num {
    font-size: 2.35rem;
  }

  .book-stat__pointer {
    width: 88px;
    height: 76px;
    margin-bottom: -14px;
    padding-top: 12px;
  }

  .book-stat__pointer img,
  .book-stat__pointer svg {
    width: 36px;
    height: 36px;
  }

  .book-stat__label {
    font-size: 1.05rem;
  }

  .book-hero__contacts a span {
    font-size: 0.78rem;
  }

  .book-close {
    padding: 2rem 1rem 2.5rem;
  }

  .book-close__star--top {
    right: 18%;
  }
}

@media (max-width: 479.98px) {
  .book-shelf__tags {
    grid-template-columns: 1fr;
  }

  .book-stats__inner {
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-book-anim],
  .book-hero__portrait img,
  .book-hero__name,
  .book-stat,
  .book-collection__btn {
    transition: none !important;
    animation: none !important;
  }

  [data-book-anim] {
    opacity: 1;
    transform: none;
  }
}
