/* Draft v14 · tombstones (prova-tomb, not published). Loaded last, only on pages with .tomb-grid.
   Direction: a printed tombstone. Same panel, logos, words and order as v12. */

/* 1 · A fine inset frame, the classic tombstone border, drawn in navy at low strength. */
.tomb { position: relative; }
.tomb::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(12,26,46,.16);
  pointer-events: none; z-index: 1; transition: border-color .45s ease; }

/* 2 · Sector label: no ornament under it; gap slightly tighter than v12 (36px). */
.tb-sector { margin-bottom: 32px; }

/* 3 · Same row grid as v12: the target logos line up across the three cards. */
.tomb-main { padding: 50px 36px 40px; }

/* 4 · Connecting words in Instrument Serif italic, as on printed tombstones. */
.tb-verb { font-style: italic; font-size: 20px; letter-spacing: .005em; color: rgba(12,26,46,.68); }

/* 5 · The strip now sits inside the frame, like the credit line of a printed tombstone,
   role a touch larger, date in small spaced capitals. */
.tb-foot { width: auto; align-self: stretch; margin: auto 11px 11px; padding: 22px 26px 24px; gap: 8px; background: #E1D4B4; }
.tb-foot .tb-role { font-size: 14.5px; font-weight: 600; }
.tb-foot .tb-date { font-size: 10.5px; letter-spacing: .22em; color: rgba(12,26,46,.70); }

/* 6 · Hover: no shadow. The frame firms up and the card rises 3px. */
@media (hover: hover) and (pointer: fine) {
  .tomb:hover, .tomb:focus-within { transform: translateY(-3px); box-shadow: none; background: #E8DDC3; }
  .tomb:hover .tb-foot, .tomb:focus-within .tb-foot { background: #DBCCA8; }
  .tomb:hover::before, .tomb:focus-within::before { border-color: rgba(12,26,46,.34); }
}

@media (max-width: 900px) {
  .tomb::before { inset: 8px; }
  .tomb-main { padding: 42px 26px 32px; }
  .tb-sector { margin-bottom: 28px; }
  .tb-foot { margin: auto 9px 9px; padding: 20px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .tomb::before { transition: none; } }
