.works-explorer .section-head {
  display: grid;
  gap: 12px;
  max-width: 39rem;
}

.works-explorer .section-head > p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}

.example-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.example-tabs button {
  min-width: 0;
  min-height: 45px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  text-align: start;
  cursor: pointer;
}

.example-tabs button > span {
  margin-inline-end: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.example-tabs button:hover { background: var(--paper); }
.example-tabs button[aria-selected="true"] {
  border-color: #96b3d1;
  background: #e5eef8;
  color: #174975;
  font-weight: 700;
}

.work-example {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(245px, 1fr);
  align-items: start;
  gap: clamp(22px, 3.4vw, 42px);
}

.work-example + .work-example { margin-top: 28px; }
.work-example[role="tabpanel"] { margin-top: 0; }
.work-example:focus-visible { outline: 2px solid var(--link); outline-offset: 6px; }
.work-image {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 10px 25px #1518190c;
}

.work-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #191a1b;
  object-fit: cover;
}

.work-image figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: 12px;
}

.work-notes h3 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 680;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.work-notes > p { margin-block: 10px 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.work-prompt {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid #91b2d4;
  border-radius: 6px;
  background: var(--paper);
}
.work-prompt h4 { margin: 0 0 5px; color: #234b6c; font-size: 13px; }
.work-prompt > p { color: var(--muted); font-size: 14px; line-height: 1.68; }
.work-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.work-actions button {
  min-height: 38px;
  padding: 6px 11px;
  border: 1px solid #c5c9cd;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.work-actions button:hover { border-color: #8197ac; }
.work-image a, .work-actions a { color: var(--link); font-weight: 650; }
.work-image a:hover, .work-actions a:hover { text-decoration: underline; text-underline-offset: .15em; }
.work-copy-status { min-height: 1.5em; margin-top: 7px; color: #234b6c; font-size: 13px; }

@media (max-width: 720px) {
  .work-example { grid-template-columns: minmax(0, 1fr); }
  .example-tabs button { padding-inline: 9px; font-size: 13px; }
  .example-tabs button > span { display: block; margin-inline: 0; }
}
