*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 12px;
  overflow-x: hidden;
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  touch-action: pan-x pan-y;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('IIP-Wallpaper.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

@font-face {
  font-family: 'Frutiger';
  src: url('frutiger-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Frutiger';
  src: url('frutiger-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body,
h1,
h2,
h3,
h4,
p,
li,
td,
th,
label,
blockquote,
address,
a,
button {
  font-family: 'Frutiger', 'Segoe UI', Arial, sans-serif;
}

h1,
h2,
h3,
h4,
p,
li,
td,
th,
label,
blockquote,
address {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin: 0.2rem 0 0;
}

h2 {
  font-size: clamp(1.2rem, 3.8vw, 1.8rem);
}

h3 {
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
}

h4,
p,
li,
td,
th,
label {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  line-height: 1.5;
}

a {
  color: #fff;
  text-decoration: none;
}

a:visited {
  color: #fff;
}

a:hover {
  color: #dffcff;
}

a:active {
  color: #9ccfff;
}

hr,
.bottom-line {
  height: 2px;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
}

address {
  font-style: normal;
}

.glass-panel,
.box,
.disliked,
.liked,
footer,
nav {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.box {
  width: min(100%, 1440px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(10px, 2.5vw, 16px);
  overflow: hidden;
  position: relative;
}

.contact-section {
  flex: 1;
}

input,
select,
textarea {
  font-size: 16px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.item p {
  margin: 5px 0;
}

.reason,
.disliked,
.liked {
  width: min(100%, 800px);
  max-width: 100%;
  margin: 10px auto;
  overflow: hidden;
}

.reason {
  padding: 0 8px;
}

.disliked,
.liked {
  padding: 10px;
}

.disliked {
  color: darkred;
}

.liked {
  color: darkgreen;
}

.dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  flex: 0 0 auto;
}

main img,
.box img,
img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 !important;
  object-fit: contain;
}

a:has(.contact-icon),
button:has(.contact-icon) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
}

.frutiger-aero-button {
  --hue: 245;
  --sat: 0.2;
  --glow-intensity: 0.7;
  --fg: oklch(15% calc(var(--sat) * 0.5) var(--hue));
  --bg: oklch(75% var(--sat) var(--hue) / 0.8);
  --bg-dark: oklch(45% var(--sat) var(--hue) / 0.75);
  --bottom-glow: radial-gradient(
    farthest-corner at bottom center,
    rgba(255, 255, 255, var(--glow-intensity)),
    transparent
  );

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  padding: 0.85em 1.5em;
  background-color: var(--bg);
  background:
    var(--bottom-glow),
    linear-gradient(to bottom, var(--bg-dark), var(--bg));
  border: 1px solid var(--bg);
  border-radius: 9999px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.35);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
}

.frutiger-aero-button::before,
.frutiger-aero-button::after {
  content: '';
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.frutiger-aero-button::before {
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 70%
  );
}

.frutiger-aero-button::after {
  top: 4%;
  left: 0.75em;
  width: calc(100% - 1.5em);
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.08)
  );
}

.frutiger-aero-button:hover,
.frutiger-aero-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.35);
}

.frutiger-aero-button:active {
  transform: translateY(1px);
}

.wrapper {
  container-type: inline-size;
  perspective: 900px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  transform-style: preserve-3d;
  animation: autoRun 40s linear infinite;
  will-change: transform;
}

@keyframes autoRun {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.client-card {
  --w: clamp(96px, 30cqw, 180px);
  --h: clamp(56px, 17cqw, 100px);
  --translateZ: clamp(80px, 18cqw, 280px);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--w);
  height: var(--h);
  margin-left: calc(var(--w) / -2);
  margin-top: calc(var(--h) / -2);
  border-radius: 12px;
  overflow: hidden;
  background-image: var(--bg, none);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: rotateY(calc((360deg / var(--quantity)) * var(--index)))
    translateZ(var(--translateZ));
}


footer {
  margin-top: auto;
  padding: 12px;
  font-size: 0.9rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 12px 14px;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav a {
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

nav a:hover,
nav a:active,
nav a.active {
  background-color: rgba(255, 255, 255, 0.22);
}

.toggle-checkbox {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: 0;
  cursor: pointer;
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  right: calc(8px + env(safe-area-inset-right));
  z-index: 2000;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.hamburger div {
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.25s ease;
}

@media (max-width: 600px) {
  body {
    padding: 8px;
  }

  body::before {
    background-position: center top;
    background-size: cover;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: calc(58px + env(safe-area-inset-top));
    left: 8px;
    right: 8px;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1999;
  }

  nav.open {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  nav a {
    border-radius: 0;
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav a:last-child {
    border-bottom: 0;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3,
  h4,
  p,
  li,
  td,
  th,
  label {
    font-size: 0.95rem;
  }

  .box,
  .reason,
  .disliked,
  .liked {
    width: 100%;
    max-width: 100%;
  }

  .glass-panel,
  .box,
  .disliked,
  .liked,
  footer,
  nav {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .wrapper {
    height: 220px;
  }

  .inner {
    animation-duration: 55s;
  }

  .client-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .frutiger-aero-button {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0.8em 1.2em;
  }
}

@media (max-width: 380px) {
  body {
    padding: 6px;
  }

  nav {
    left: 6px;
    right: 6px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .wrapper {
    height: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner {
    animation: none;
  }

  .frutiger-aero-button,
  nav a,
  .hamburger div {
    transition: none;
  }
}

/* =========================================================================
   BOOK WIDGET — added for the interactive resource guide.
   Nothing above this banner has been changed.

   COVER CUSTOMIZATION lives entirely in the custom properties on
   ".book-cover" below (colors, accent, corner radius). Page look lives in
   the custom properties on ".book" (dark "ink" background + light text)
   and ".page-content". See the HTML comment above the book markup in
   resource.html for the full list of what's safe to edit.
   ========================================================================= */

.box.book-frame {
  overflow: visible;
}

.book-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 4vw, 36px) 6px clamp(34px, 6vw, 54px);
  perspective: 2800px;
}

.book-hint {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.35s ease;
}

.book-hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.book {
  /* Size of ONE page. The book itself is two of these side by side. */
  --book-page-w: clamp(190px, 33vw, 320px);
  --book-page-h: clamp(280px, 52vw, 440px);
  --spine-gap: clamp(8px, 1.6vw, 16px);

  position: relative;
  width: calc(var(--book-page-w) * 2 + var(--spine-gap));
  max-width: 94vw;
  height: var(--book-page-h);
  transform-style: preserve-3d;
  outline: none;
}

/* Soft contact shadow under the book, like it's resting on a surface */
.book::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -16px;
  height: 22px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5), transparent 72%);
  filter: blur(3px);
}

/* Thin sliver of stacked, already-read pages peeking past the right edge */
.book::after {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -3px;
  width: 3px;
  z-index: 1;
  background: repeating-linear-gradient(
    180deg,
    #e7ecf5 0px,
    #e7ecf5 2px,
    #c9d3e2 2px,
    #c9d3e2 4px
  );
  border-radius: 0 2px 2px 0;
}

.book:focus-visible .book-cover {
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.5),
    0 0 0 3px #f5c518;
}

/* ---- cover ---------------------------------------------------------------
   Customize the cover by editing these custom properties. Everything else
   in this rule block reacts to them automatically.
   - --cover-bg-start / --cover-bg-mid / --cover-bg-end : leather gradient
   - --cover-accent       : trim / rule / emblem / spine-ridge color (yellow)
   - --cover-title-color  : title text color
   - --cover-subtitle-color : subtitle + byline text color
   - --cover-radius       : outer corner rounding
   ---------------------------------------------------------------------- */

.book-cover {
  --cover-bg-start: #1c3f73;
  --cover-bg-mid: #14305c;
  --cover-bg-end: #0b1d3c;
  --cover-accent: #f5c518;
  --cover-title-color: #fbeec2;
  --cover-subtitle-color: rgba(251, 238, 194, 0.85);
  --cover-radius: 10px;

  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Leather-ish base: gradient + faint mottled grain + diagonal weave */
  background-image:
    radial-gradient(140% 90% at 20% 10%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(120% 90% at 90% 100%, rgba(0, 0, 0, 0.30), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0px, rgba(255, 255, 255, 0.035) 2px, transparent 2px, transparent 5px),
    linear-gradient(155deg, var(--cover-bg-start), var(--cover-bg-mid) 55%, var(--cover-bg-end));

  border-radius: 4px var(--cover-radius) var(--cover-radius) 4px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.5),
    inset 0 0 0 7px rgba(245, 197, 24, 0.14),
    inset 0 0 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  cursor: pointer;
  transform-origin: left center;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  transition: transform 0.9s cubic-bezier(0.45, 0.05, 0.15, 1), box-shadow 0.5s ease;
}

.book.is-open .book-cover {
  transform: rotateY(-172deg);
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* Raised horizontal bands along the spine (left edge), like a bound hardback */
.cover-spine-ridges {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 0;
  width: 14px;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 24px,
      rgba(245, 197, 24, 0.55) 24px,
      rgba(245, 197, 24, 0.55) 27px,
      transparent 27px,
      transparent 30px
    );
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.4), inset 2px 0 3px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cover-frame {
  width: 78%;
  margin-left: 8%;
  text-align: center;
  border: 1px solid var(--cover-accent);
  border-radius: 6px;
  padding: clamp(14px, 4vw, 26px) clamp(10px, 3vw, 18px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.cover-emblem {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cover-accent);
  border-radius: 50%;
  color: var(--cover-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.12);
}

.cover-title {
  margin: 0 0 8px;
  color: var(--cover-title-color);
  font-size: clamp(1.15rem, 5.5vw, 1.9rem);
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #fff6d8, var(--cover-title-color) 55%, #d9b95a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cover-subtitle {
  margin: 0;
  color: var(--cover-subtitle-color);
  font-size: clamp(0.76rem, 2.6vw, 0.92rem);
  text-shadow: none;
}

.cover-divider {
  width: 32px;
  height: 2px;
  margin: 14px auto;
  background: var(--cover-accent);
  box-shadow: 0 0 6px rgba(245, 197, 24, 0.6);
}

.cover-byline {
  margin: 0;
  color: var(--cover-subtitle-color);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: none;
}

.cover-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--cover-accent);
  opacity: 0.8;
  pointer-events: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.cover-corner--tl {
  top: 10px;
  left: 18px;
  border-right: none;
  border-bottom: none;
}

.cover-corner--br {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

/* ---- pages ----------------------------------------------------------------
   Dark "ink" pages with light text. Text content itself comes from
   #bookSource in the HTML — edit it there and the script re-paginates
   automatically. Colors here are custom properties on .book so a cover
   re-theme and a page re-theme can be tuned independently.
   ---------------------------------------------------------------------- */

.book {
  --page-bg-start: #121a2c;
  --page-bg-end: #0b111e;
  --page-text: #e9edf6;
  --page-text-dim: rgba(233, 237, 246, 0.72);
  --page-accent: #f5c518;
  --page-rule: rgba(245, 197, 24, 0.35);
}

.book-pages-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr var(--spine-gap) 1fr;
  border-radius: var(--cover-radius, 10px) 4px 4px var(--cover-radius, 10px);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
}

.book-spine {
  grid-column: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.15) 35%,
      rgba(0, 0, 0, 0.15) 65%,
      rgba(0, 0, 0, 0.55)
    ),
    var(--page-bg-start);
}

.page-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--page-bg-start), var(--page-bg-end));
}

.page-slot--left {
  grid-column: 1;
  box-shadow: inset -10px 0 16px -12px rgba(0, 0, 0, 0.6);
}

.page-slot--right {
  grid-column: 3;
  box-shadow: inset 10px 0 16px -12px rgba(0, 0, 0, 0.6);
}

.page-content {
  height: 100%;
  overflow: hidden;
  text-align: left;
  padding: clamp(14px, 3.6vw, 22px) clamp(12px, 3vw, 18px) clamp(24px, 4vw, 30px);
}

.page-content h3,
.page-content h4,
.page-content p,
.page-content li,
.page-content td,
.page-content th {
  text-align: left;
  text-shadow: none;
}

.page-content h3 {
  color: var(--page-accent);
  font-size: clamp(0.92rem, 3.4vw, 1.1rem);
  margin: 0 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--page-rule);
}

.page-content h4 {
  color: var(--page-accent);
  font-size: clamp(0.82rem, 3vw, 0.95rem);
  margin: 10px 0 6px;
}

.page-content p {
  color: var(--page-text);
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  line-height: 1.55;
  margin: 0 0 8px;
}

.page-content ul,
.page-content ol {
  margin: 0 0 8px;
  padding-left: 1.1em;
}

.page-content li {
  color: var(--page-text);
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  line-height: 1.4;
  margin-bottom: 4px;
}

.page-content li::marker {
  color: var(--page-accent);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.62rem, 2.1vw, 0.74rem);
  margin-bottom: 8px;
}

.page-content th,
.page-content td {
  color: var(--page-text);
  border: 1px solid rgba(245, 197, 24, 0.22);
  padding: 4px 6px;
  text-align: left;
}

.page-content th {
  color: var(--page-accent);
}

.page-number {
  position: absolute;
  bottom: 8px;
  font-size: 0.64rem;
  color: var(--page-text-dim);
}

.page-slot--left .page-number { left: 14px; }
.page-slot--right .page-number { right: 14px; }

.book-page--measure {
  position: fixed;
  inset: auto;
  top: -9999px;
  left: -9999px;
  width: var(--book-page-w);
  height: var(--book-page-h);
  visibility: hidden;
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

.flip-leaf {
  position: absolute;
  z-index: 20;
  overflow: hidden;
  background: linear-gradient(180deg, var(--page-bg-start), var(--page-bg-end));
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
  pointer-events: none;
}

.flip-leaf .page-content {
  padding: clamp(14px, 3.6vw, 22px) clamp(12px, 3vw, 18px) clamp(24px, 4vw, 30px);
}

.flip-leaf--next {
  transform-origin: left center;
  transform: rotateY(0deg);
  transition: transform 0.7s cubic-bezier(0.4, 0.1, 0.2, 1);
  box-shadow: -14px 0 24px -10px rgba(0, 0, 0, 0.5);
}

.flip-leaf--next.is-flipping {
  transform: rotateY(-180deg);
}

.flip-leaf--prev {
  transform-origin: right center;
  transform: rotateY(0deg);
  transition: transform 0.7s cubic-bezier(0.4, 0.1, 0.2, 1);
  box-shadow: 14px 0 24px -10px rgba(0, 0, 0, 0.5);
}

.flip-leaf--prev.is-flipping {
  transform: rotateY(180deg);
}

.page-click-zone {
  position: absolute;
  inset: 0;
  width: 50%;
  z-index: 6;
  cursor: pointer;
}

.page-click-zone--left {
  left: 0;
}

.page-click-zone--right {
  left: auto;
  right: 0;
}

.page-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  font-size: 0.64rem;
  color: var(--page-text-dim, rgba(255, 255, 255, 0.5));
  pointer-events: none;
}

@media (max-width: 460px) {
  .book {
    --spine-gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-cover,
  .flip-leaf--next,
  .flip-leaf--prev {
    transition: none !important;
  }
}
