/* ===================== FRONTISPIECE ===================== */
#frontispiece {
  position: relative;
  padding: 26px 18px 44px;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% 14%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.00) 18%),
    linear-gradient(180deg, #030303 0%, #0a0908 58%, #050505 100%);
  overflow: hidden;
}
#frontispiece::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.016) 0%, rgba(255,255,255,0) 18%);
  opacity: 0.5;
  pointer-events: none;
}
#frontispiece::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.20) 100%);
  pointer-events: none;
}
.frontispiece-shell {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
}
.frontispiece-stage {
  touch-action: none;
  overscroll-behavior: contain;
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: grab;
  user-select: none;
}
.frontispiece-stage.is-dragging {
  cursor: grabbing;
}
.frontispiece-panel {
  position: relative;
  overflow: hidden;
  background: #090807;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 2px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 20px 70px rgba(0,0,0,0.42);
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease, box-shadow 0.55s ease;
}
.frontispiece-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease, opacity 0.45s ease, filter 0.55s ease;
  pointer-events: none;
}
.frontispiece-panel--side {
  width: min(23vw, 320px);
  min-height: 515px;
  z-index: 1;
  opacity: 0.88;
}
.frontispiece-panel--left {
  margin-right: calc(min(23vw, 320px) * -0.34);
}
.frontispiece-panel--right {
  margin-left: calc(min(23vw, 320px) * -0.34);
}
.frontispiece-panel--side img {
  filter: blur(5.8px) saturate(1.02) brightness(0.72);
  transform: scale(1.09);
}
.frontispiece-panel--side::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.08) 26%, rgba(0,0,0,0.36) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 24%, rgba(0,0,0,0.10) 76%, rgba(0,0,0,0.55) 100%);
}
.frontispiece-panel--main {
  width: min(42vw, 590px);
  min-height: 640px;
  z-index: 2;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 28px 100px rgba(0,0,0,0.58),
    0 0 54px rgba(255,255,255,0.04);
}
.frontispiece-panel--main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.02) 22%, rgba(0,0,0,0.42) 100%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.0) 22%);
}
.frontispiece-panel--main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.00) 15%, rgba(0,0,0,0.00) 85%, rgba(0,0,0,0.18) 100%);
}
.frontispiece-content {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: auto;
  text-align: center;
  padding: 0 12px;
  pointer-events: none;
}
.frontispiece-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(248,241,227,0.84);
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.frontispiece-title,
.frontispiece-sub,
.frontispiece-actions,
.frontispiece-cta,
.frontispiece-side-label,
.frontispiece-counter,
.frontispiece-thumbs,
.frontispiece-progress {
  display: none !important;
}
.frontispiece-panel--main.is-switching img,
.frontispiece-panel--side.is-switching img {
  opacity: 0.82;
}
@media (max-width: 1180px) {
  .frontispiece-stage {
  touch-action: none;
  overscroll-behavior: contain; min-height: 650px; }
  .frontispiece-panel--side {
    width: min(22vw, 250px);
    min-height: 430px;
  }
  .frontispiece-panel--left { margin-right: calc(min(22vw, 250px) * -0.30); }
  .frontispiece-panel--right { margin-left: calc(min(22vw, 250px) * -0.30); }
  .frontispiece-panel--main {
    width: min(48vw, 520px);
    min-height: 580px;
  }
}
@media (max-width: 820px) {
  #frontispiece { padding: 20px 8px 30px; }
  .frontispiece-stage {
  touch-action: none;
  overscroll-behavior: contain;
    min-height: auto;
    display: block;
    cursor: default;
  }
  .frontispiece-panel--side { display: none; }
  .frontispiece-panel--main {
    width: 100%;
    min-height: 560px;
  }
  .frontispiece-content { top: 18px; }
}

