/* ────────────────────────────────────────────────────────────
   Page header — used by books / publications / workshops
   ──────────────────────────────────────────────────────────── */
.page-header {
  padding: var(--s-32) 0 var(--s-12);
  text-align: center;
  background: var(--paper-light);
  border-bottom: 1px solid var(--navy-line);
  position: relative;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.page-header h1 .italic-display {
  display: block;
  color: var(--ink-faint);
  font-size: 0.5em;
  font-weight: 400;
  margin-bottom: var(--s-2);
}
.page-header p {
  max-width: 56ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ────────────────────────────────────────────────────────────
   Books page
   ──────────────────────────────────────────────────────────── */
.books-section {
  padding: var(--s-16) 0 var(--s-24);
}
.books-section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--s-12);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--ink);
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-12) var(--s-8);
}
.books-grid--prominent {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-12);
}
@media (max-width: 760px) {
  .books-grid--prominent { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .books-grid--prominent { grid-template-columns: 1fr; }
}
.book-entry { display: flex; flex-direction: column; }
.book-entry__cover {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: var(--r-md);
  box-shadow: var(--neu-shadow-raised-sm);
  margin-bottom: var(--s-4);
  transition: box-shadow 350ms var(--ease-soft), transform 350ms var(--ease-soft);
}
.book-entry:hover .book-entry__cover {
  box-shadow: var(--neu-shadow-hover);
  transform: translateY(-2px);
}
.book-entry__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-entry__title {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.book-entry__authors {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: var(--s-1);
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.book-entry__publisher {
  font-family: var(--font-meta);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermilion);
}

/* ────────────────────────────────────────────────────────────
   Publications page
   ──────────────────────────────────────────────────────────── */
.publications-section {
  padding: var(--s-12) 0 var(--s-24);
}
.publications-group {
  margin-bottom: var(--s-16);
}
.publications-group h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--navy-line);
}
.publications-list {
  list-style: none;
  margin: 0; padding: 0;
}
.publications-list li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--navy-line);
}
.publications-list li:last-child { border-bottom: 0; }
.publications-list a {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  border: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
  transition: color 200ms;
}
.publications-list a:hover { color: var(--vermilion); }
.publications-list a::after {
  content: '↗';
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.publications-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--paper-shadow);
  box-shadow: 0 24px 60px -24px rgba(20, 24, 32, 0.18);
  overflow: hidden;
}
.publications-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.publications-video__link {
  display: block;
  position: absolute;
  inset: 0;
}
.publications-video__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.publications-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0;
  background: rgba(0,0,0,0.25);
  transition: opacity 0.2s ease;
}
.publications-video__link:hover .publications-video__play,
.publications-video__link:focus .publications-video__play {
  opacity: 1;
}

/* ────────────────────────────────────────────────────────────
   Workshops page — full catalogue
   ──────────────────────────────────────────────────────────── */
.workshops-keynote {
  max-width: var(--container-mid);
  margin: 0 auto var(--s-12);
  padding: 0 var(--s-6);
}
.workshops-keynote img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--paper-shadow);
  box-shadow: 0 24px 60px -24px rgba(20, 24, 32, 0.18);
}
.workshops-section {
  padding: 0 0 var(--s-24);
}
.workshops-toc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink-faint);
  margin: 0 0 var(--s-12);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--navy-line);
}
.workshops-block {
  margin-bottom: var(--s-16);
}
.workshops-block h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.format-pill {
  padding: var(--s-4) var(--s-6);
  border: 0;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-soft);
  text-align: center;
  box-shadow: var(--neu-shadow-raised-sm);
  transition:
    box-shadow 280ms var(--ease-emph),
    color 200ms var(--ease-soft),
    transform 200ms var(--ease-emph);
}
.format-pill:hover {
  box-shadow: var(--neu-shadow-pressed);
  color: var(--vermilion);
}
.format-pill:active { transform: translateY(1px); }
