.collectie-page {
  min-height: calc(100vh - 94px);
  background:
    radial-gradient(circle at top right, rgba(181, 138, 66, 0.11), transparent 34%),
    var(--bg);
}

.collectie-shell {
  padding: 82px 0 92px;
}

.collectie-intro {
  max-width: 980px;
  margin: 0 auto 42px;
  text-align: left;
}

.collectie-intro .eyebrow,
.artist-panel-content .eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.collectie-intro h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 22px;
}

.collectie-intro p {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 12px;
}

.artist-accordion {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.artist-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.74);
  box-shadow: 0 14px 42px rgba(17, 23, 25, 0.06);
  overflow: hidden;
}

.artist-panel summary {
  list-style: none;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  cursor: pointer;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  background: rgba(255, 253, 248, 0.86);
  border-bottom: 1px solid transparent;
  transition: background 0.22s ease, color 0.22s ease;
}

.artist-panel summary::-webkit-details-marker {
  display: none;
}

.artist-panel summary:hover {
  background: rgba(255, 250, 241, 1);
  color: var(--ink);
}

.accordion-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.28s ease;
}

.artist-panel[open] summary {
  border-bottom-color: var(--line);
}

.artist-panel[open] .accordion-icon {
  transform: rotate(180deg);
}

.artist-panel-content {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 250, 241, 0.52);
  overflow: hidden;
}

.artist-panel-content h2 {
  max-width: 820px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.collectie-subtitle {
  margin-top: 16px;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 18px;
}

.collectie-text {
  margin-top: 34px;
  display: grid;
  gap: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.collectie-text strong {
  color: var(--ink);
}

@media (min-width: 981px) {
  .collectie-shell {
    width: min(1180px, calc(100% - 80px));
  }
}

@media (max-width: 680px) {
  .collectie-shell {
    padding: 52px 0 64px;
  }

  .collectie-intro {
    margin-bottom: 30px;
  }

  .collectie-intro h1 {
    font-size: 46px;
  }

  .collectie-intro p {
    font-size: 16px;
  }

  .artist-panel {
    border-radius: 18px;
  }

  .artist-panel summary {
    min-height: 58px;
    padding: 16px 18px;
    font-size: 24px;
  }

  .artist-panel-content h2 {
    font-size: 40px;
  }

  .collectie-text {
    font-size: 16px;
  }
}


.collection-work-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.collection-work-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 36px rgba(17, 23, 25, 0.08);
}

.collection-work-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: contain;
  background: rgba(255, 250, 241, 0.72);
}

.collection-work-card figcaption {
  padding: 13px 14px 15px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 780px) {
  .collection-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
  }

  .collection-work-card {
    border-radius: 14px;
  }

  .collection-work-card img {
    aspect-ratio: 1 / 0.86;
  }

  .collection-work-card figcaption {
    padding: 10px 11px 12px;
    font-size: 12px;
  }
}


.collection-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(181, 138, 66, 0.36);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.72);
}

.collection-error {
  color: #8f2f25;
  border-color: rgba(143, 47, 37, 0.28);
}


.artist-panel.is-animating .artist-panel-content {
  will-change: height, opacity;
}

.artist-panel:not([open]) .artist-panel-content {
  height: 0;
  opacity: 0;
}

.artist-panel[open] .artist-panel-content {
  opacity: 1;
}

.jump-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(181, 138, 66, 0.38);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 18px 44px rgba(17, 23, 25, 0.18);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.jump-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.jump-to-top:hover,
.jump-to-top:focus-visible {
  box-shadow: 0 22px 52px rgba(17, 23, 25, 0.24);
  transform: translateY(-2px);
  outline: none;
}

@media (max-width: 680px) {
  .jump-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
}
