.collection-page { background: #f7f6f3; min-height: 100vh; }

/* ── Hero ──────────────────────────────────────────── */
.col-hero {
  background: linear-gradient(180deg, #edeae4 0%, #f7f6f3 100%);
  border-top: 4px solid var(--col-accent, #5c3d8b);
  border-bottom: 1px solid #e8e4dd;
  padding: clamp(1.5rem, 4vw, 2.75rem) max(var(--layout-gutter, clamp(0.9375rem, 2.85vw, 1.875rem)), env(safe-area-inset-left, 0));
}

.col-hero__inner {
  max-width: var(--layout-max, 1320px);
  margin: 0 auto;
}

.col-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8rem;
  color: #999;
}
.col-breadcrumb a { color: #999; text-decoration: none; }
.col-breadcrumb a:hover { color: #c41e3a; }
.col-breadcrumb__sep { font-size: 0.7rem; }

.col-hero__layout {
  display: grid;
  grid-template-columns: clamp(180px, 28%, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* Mosaic (same visual as collection card) */
.col-hero__mosaic-wrap {
  position: relative;
  padding-bottom: 10px;
  padding-right: 10px;
}

.col-hero__mosaic-shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 10px);
  aspect-ratio: 4 / 3;
  background: var(--col-accent, #5c3d8b);
  transform: translate(10px, 10px);
  z-index: 0;
}

.col-hero__mosaic-plate {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  border: 1px solid #0a0a0a;
  background: #fff;
  overflow: hidden;
}

.col-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
}

.col-hero__mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Text block */
.col-hero__label {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--col-accent, #5c3d8b);
}

.col-hero__title {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.col-hero__desc {
  margin: 0 0 1rem;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6f6b66;
  max-width: 38em;
}

.col-hero__count {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.8125rem;
  color: #aaa;
}

/* ── Books grid ────────────────────────────────────── */
.col-main {
  max-width: var(--layout-max, 1320px);
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) max(var(--layout-gutter, clamp(0.9375rem, 2.85vw, 1.875rem)), env(safe-area-inset-left, 0)) clamp(3rem, 6vw, 4rem);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 600px) {
  .col-hero__layout {
    grid-template-columns: 1fr;
  }

  .col-hero__mosaic-wrap {
    max-width: 320px;
  }
}

/* ── Dark mode ─────────────────────────────────────── */
[data-theme="dark"] .collection-page { background: #141619; }
[data-theme="dark"] .col-hero {
  background: linear-gradient(180deg, #1a1d22 0%, #141619 100%);
  border-bottom-color: #2a2d33;
}
[data-theme="dark"] .col-hero__title { color: #f0ede8; }
[data-theme="dark"] .col-hero__desc { color: #888; }
[data-theme="dark"] .col-breadcrumb,
[data-theme="dark"] .col-breadcrumb a { color: #555; }
[data-theme="dark"] .col-hero__count { color: #555; }
[data-theme="dark"] .col-hero__mosaic-plate { border-color: #333; }
