/* Drawing Sets page — extends styles.css + thesis.css */
.d-hero h1 { color: var(--blue); }
.d-hero h1 span { color: var(--red); }

.d-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.d-index a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 9px 16px; border-radius: 999px; background: #fff;
  border: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  transition: background .2s, color .2s;
}
.d-index a b { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--red); margin-right: 4px; }
.d-index a:hover { background: var(--blue); color: #fff; }
.d-index a:hover b { color: var(--yellow); }

.sheet {
  max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(240px, 1fr) 2.6fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  scroll-margin-top: 72px;
}
.sheet-head { position: sticky; top: 96px; }
.sheet-head .vol-n { color: var(--red); }
.sheet h2 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.sheet-notes { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.sheet-notes b { color: var(--ink); font-weight: 500; }

.board {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #fff;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgb(28 25 64 / .06), 0 20px 50px rgb(28 25 64 / .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.board:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgb(28 25 64 / .06), 0 28px 60px rgb(28 25 64 / .18); }
.board img { width: 100%; height: auto; display: block; }

.d-pdf { text-align: center; }
.d-pdf h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.03em; }
.d-pdf h2 em { color: var(--blue); }
.d-pdf p { color: var(--ink-soft); margin: 16px 0 28px; }
.d-pdf .d-note { font-size: 13px; margin-top: 18px; }

/* zoomable lightbox */
#lightbox .lb-scroll { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; }
#lightbox .lb-scroll img { max-width: calc(100vw - 80px); max-height: calc(100vh - 80px); cursor: zoom-in; background: #fff; }
#lightbox.zoom .lb-scroll { place-items: start; }
#lightbox.zoom .lb-scroll img { max-width: none; max-height: none; width: 3508px; cursor: zoom-out; }
#lightbox .lb-close { z-index: 2; }
#lightbox .lb-count { z-index: 2; pointer-events: none; }

@media (max-width: 960px) {
  .sheet { grid-template-columns: 1fr; }
  .sheet-head { position: static; }
}
@media (max-width: 640px) {
  #lightbox.zoom .lb-scroll img { width: 2400px; }
}
