/* Research formats and community work, using the established Paper palette. */
.catalogue-heading {
  margin: 29px 0 25px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.recorded-talks {
  --talk-image-width: 220px;
  --talk-column-gap: 32px;
  border-top: 1px solid var(--line);
}
.recorded-talk {
  padding-block: 28px 30px;
  border-bottom: 1px solid var(--line);
}
.recorded-talk-link {
  display: grid;
  grid-template-columns: var(--talk-image-width) minmax(0, 1fr);
  align-items: start;
  gap: var(--talk-column-gap);
  text-decoration: none;
}
.talk-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}
.talk-thumbnail img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: none;
}
.thumbnail-clean-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}
.thumbnail-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding-left: 2px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  line-height: 1;
}
.thumbnail-duration {
  position: absolute;
  left: 9px;
  bottom: 9px;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  line-height: 1.4;
}
.recorded-talk-copy { min-width: 0; }
.recorded-talk-copy h3 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
.recorded-talk-copy .description {
  max-width: 740px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.recorded-talk-copy .watch-label {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.recorded-talk-link:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .14em;
}
.recorded-talk-link:hover .watch-label { border-color: var(--ink); }
.recorded-talk-link:hover .thumbnail-play { background: var(--theme-hover, #2c5052); }
.talk-related {
  margin: 13px 0 0 calc(var(--talk-image-width) + var(--talk-column-gap));
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.talk-related a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.talk-related a:hover { color: var(--rust); border-color: var(--rust); }

.podcast-empty {
  margin-top: 28px;
  padding-block: 30px 35px;
  border-block: 1px solid var(--line);
}
.podcast-empty h3 {
  max-width: 650px;
  margin-top: 11px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.podcast-empty p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.service-list { border-top: 1px solid var(--line); }
.service-entry {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  gap: 32px;
  padding-block: 27px 30px;
  border-bottom: 1px solid var(--line);
}
.service-date {
  padding-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .04em;
}
.service-body { min-width: 0; max-width: 820px; }
.service-body h3 sup { font-size: .6em; line-height: 0; vertical-align: super; }
.service-upcoming { display: inline-block; margin-top: 5px; color: var(--rust); }
.contact-section h2 { margin-top: 0; }
.contact-section .contact-links { font-size: 12px; gap: 12px; }
.contact-email { font-size: inherit; }
.contact-profiles { display: contents; }
.contact-links .cv-download { margin-top: 0; }
.service-body h3 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.service-body h3 a { text-decoration: none; }
.service-body h3 a:hover { text-decoration: underline; }
.service-body .service-role {
  margin-top: 8px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.service-body > p:not(.service-role):not(.publication-links) {
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.teaching-testimonial { max-width: 820px; margin: 0 0 25px; }
.teaching-testimonial blockquote {
  margin: 0;
  padding-left: 25px;
  border-left: 2px solid var(--rust);
  font-family: var(--serif);
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.5;
  letter-spacing: -.015em;
}
.teaching-testimonial figcaption { margin: 13px 0 0 27px; color: var(--muted); font-size: 12px; }
.teaching-section > .section-heading { margin-bottom: 20px; }
.teaching-philosophy { max-width: 820px; margin: 0 0 34px; color: var(--ink); font-size: 18px; line-height: 1.75; }
.teaching-course-title { margin-bottom: 18px; padding-top: 30px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 32px; line-height: 1.25; letter-spacing: -.025em; }
.teaching-conversation { max-width: 760px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.teaching-conversation h3 { margin: 10px 0 12px; font-family: var(--serif); font-size: 25px; line-height: 1.3; letter-spacing: -.02em; }
.teaching-conversation > p:not(.publication-meta) { color: var(--muted); font-size: 14px; line-height: 1.85; }
.teaching-conversation > .text-link { display: inline-block; margin-top: 16px; }

.footer-name { font-size: 12px; }
.cv-download { max-width: 100%; }
.cv-download .cv-primary { display: inline-block; }
.cv-primary small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 400; line-height: 1.5; letter-spacing: .02em; }
.cv-alternative { margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.cv-alternative a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.hero-links { align-items: flex-start; }

/* All navigation labels remain available when the fifth tab wraps. */
.research-tabs { max-width: 100%; gap: 0 26px; }
.research-tabs button { min-width: 0; max-width: 100%; min-height: 44px; }
@media (max-width: 1050px) {
  .recorded-talks { --talk-image-width: 180px; --talk-column-gap: 27px; }
  .main-nav { gap: 17px; }
}
@media (max-width: 800px) {
  .main-nav { flex-wrap: wrap; gap: 4px 22px; overflow-x: visible; }
  .main-nav a { padding-block: 3px; }
  .service-entry { grid-template-columns: 90px minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 600px) {
  .catalogue-heading { margin-block: 25px 22px; font-size: 27px; }
  .recorded-talk { padding-block: 23px 26px; }
  .recorded-talk-link { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .talk-thumbnail { max-width: 260px; }
  .recorded-talk-copy h3 { font-size: 24px; }
  .recorded-talk-copy .description { font-size: 13px; }
  .talk-related { margin-left: 0; font-size: 11px; }
  .podcast-empty { margin-top: 24px; padding-block: 25px 28px; }
  .podcast-empty h3 { font-size: 25px; }
  .podcast-empty p:not(.eyebrow) { font-size: 13px; }
  .service-entry { grid-template-columns: minmax(0, 1fr); gap: 9px; padding-block: 23px 26px; }
  .service-date { padding-top: 0; font-size: 10px; }
  .service-body h3 { font-size: 25px; }
  .service-body > p:not(.service-role):not(.publication-links) { font-size: 13px; }
  .teaching-testimonial blockquote { padding-left: 18px; }
  .teaching-testimonial figcaption { margin-left: 20px; font-size: 11px; }
  .teaching-philosophy { font-size: 16px; margin: 0 0 28px; }
  .teaching-course-title { font-size: 27px; padding-top: 25px; }
  .research-tabs { gap: 0 18px; }
  .research-tabs button { font-size: 12px; padding-inline: 1px; }
  .main-nav { gap: 3px 15px; }
}
@media (max-width: 360px) {
  .research-tabs { gap: 0 15px; }
  .main-nav { gap: 3px 12px; }
}
@media print {
  .recorded-talk, .service-entry, .teaching-testimonial { break-inside: avoid; }
  .recorded-talks { --talk-image-width: 120px; --talk-column-gap: 20px; }
  .recorded-talk-link { grid-template-columns: var(--talk-image-width) minmax(0, 1fr); }
  .thumbnail-play { display: none; }
}
