/* v16 (Luigi t186u, approved t187u, 30/11/2026): the tombstone itself, at rest and on hover. Loaded after v14.css and v15.css on pages with .tomb-grid.
   Still a printed tombstone: same panel family, logos, words, roles, dates and order. No gold. */

/* 1 · Paper: the card rests on the page with a soft contact shadow instead of sitting flat in it. */
.tomb { background: #EBE1C9; box-shadow: 0 1px 1px rgba(12,26,46,.05), 0 16px 30px -24px rgba(12,26,46,.40); }

/* 2 · Frame: the classic double rule of a printed tombstone, a firmer outer line and a hairline 3px inside it. */
.tomb::before { inset: 10px; border: 1px solid rgba(12,26,46,.26);
  box-shadow: inset 0 0 0 3px #EBE1C9, inset 0 0 0 4px rgba(12,26,46,.12); }

/* 3 · Rhythm: a little more air above the sector line, sector in navy at full strength. */
.tomb-main { padding: 56px 38px 40px; }
.tb-sector { color: rgba(12,26,46,.80); letter-spacing: .24em; margin-bottom: 34px; }

/* 4 · Credit line: the strip sits inside the inner rule; role set in Instrument Serif like the verbs, date in spaced capitals. */
.tb-foot { margin: auto 15px 15px; padding: 20px 24px 22px; gap: 6px; background: #E1D4B4; }
.tb-foot .tb-role { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 19px; letter-spacing: .005em; line-height: 1.25; }
.tb-foot .tb-date { font-size: 10.5px; letter-spacing: .24em; }

/* 5 · Hover: the card lifts a little further and the shadow opens; the frame firms up. */
@media (hover: hover) and (pointer: fine) {
  .tomb:hover, .tomb:focus-within { transform: translateY(-5px); background: #EBE1C9;
    box-shadow: 0 2px 6px -2px rgba(12,26,46,.10), 0 30px 46px -26px rgba(12,26,46,.50); }
  .tomb:hover::before, .tomb:focus-within::before { border-color: rgba(12,26,46,.44);
    box-shadow: inset 0 0 0 3px #EBE1C9, inset 0 0 0 4px rgba(12,26,46,.20); }
  .tomb:hover .tb-foot, .tomb:focus-within .tb-foot { background: #DACBA6; }
}
.tomb::before { transition: border-color .45s ease, box-shadow .45s ease; }

@media (max-width: 900px) {
  .tomb::before { inset: 8px; }
  .tomb-main { padding: 46px 26px 32px; }
  .tb-sector { margin-bottom: 30px; }
  .tb-foot { margin: auto 13px 13px; padding: 18px 20px 20px; }
  .tb-foot .tb-role { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tomb::before { transition: none; }
  .tomb:hover, .tomb:focus-within { transform: none !important; }
}
