/* MARCVS · PHANTOM VIDEOGRAPHY
   Lombadas horizontais: tipografia de arquivo, preto e azul fantasma. */
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
.stage { opacity: 1; }
.shell { max-width: 1320px; padding-inline: clamp(20px, 5vw, 64px); }
.topbar { font-size: .75rem; color: var(--g2); }
.mark { margin-top: 44px; }
.mark h1 { font-size: clamp(40px, 5vw, 64px); }
.mark .cmdline { display: none; }
.mark .tag { font-size: .875rem; letter-spacing: .025em; line-height: 1.9; }
.intro-bio { max-width: 80ch; margin: 24px 0 0; font: 400 1rem/1.75 var(--plex); color: var(--g1); }
.film-library { position: relative; margin-top: 48px; }
.shelf-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.shelf-heading h2 { margin: 0; font: 400 1rem/1.5 var(--plex); color: var(--g1); }
.shelf-heading a { font: 400 .875rem/1.5 var(--mono); color: var(--green); text-decoration: none; }
.shelf { border-top: 1px solid #535a5c; }
.shelf-message { margin: 0; padding: 28px 0; font: 400 1rem/1.7 var(--plex); color: var(--g2); }
.shelf-message a { color: var(--green); text-underline-offset: 5px; }
.tape { border-bottom: 1px solid #535a5c; background: rgba(9,12,13,.92); }
.tape summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px minmax(0, 1fr) 115px minmax(120px, 240px) 36px; align-items: center; gap: 22px; min-height: 108px; padding: 20px 22px 20px 0; position: relative; transition: background .18s; }
.tape summary::-webkit-details-marker { display: none; }
.tape summary::marker { content: ''; }
.tape summary:hover { background: #11191d; }
.tape summary:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; }
.tape-number { color: var(--g2); align-self: stretch; display: grid; place-items: center; border-right: 1px solid #343b3e; font: 400 .8125rem/1 var(--mono); letter-spacing: .04em; }
.tape-title { color: var(--white); font: 400 clamp(1.4rem, 2.8vw, 2.3rem)/1.15 'Workbench', var(--pixel); overflow-wrap: anywhere; letter-spacing: .025em; }
.tape-date { font: 400 .8125rem/1.5 var(--mono); color: #b2b7b6; white-space: nowrap; }
.tape-tags { display: flex; flex-wrap: wrap; gap: 5px 10px; font: 400 .8125rem/1.5 var(--plex); color: #a3adb0; }
.tape-tags span + span::before { content: '/ '; color: #637179; }
.tape-toggle { justify-self: end; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #46545b; color: var(--green); font: 400 1.4rem/1 var(--mono); }
.tape-toggle::before { content: '+'; }
.tape[open] { border-color: var(--green); }
.tape[open] summary { background: #101b21; box-shadow: inset 3px 0 var(--green); }
.tape[open] .tape-toggle::before { content: '−'; }
.tape[open] .tape-title { color: var(--green); }
.tape-panel { padding: 0 22px 22px 74px; background: #101b21; }
.tape[open] .tape-panel { animation: unspool .24s ease-out; }
@keyframes unspool { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.film-frame { position: relative; display: block; color: var(--white); text-decoration: none; background: #050708; overflow: hidden; border: 1px solid #344b57; }
.film-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; background: #050708; filter: none; }
.film-frame:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.film-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 50px rgba(0,0,0,.12); }
.film-watch { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; background: #0b1115; color: var(--green); font: 400 .875rem/1.5 var(--plex); border-top: 1px solid #344b57; }
a.film-frame:hover .film-watch { background: var(--green); color: var(--black); }
.film-frame.image-unavailable .film-watch { min-height: 160px; }
.film-frame:not([href]) .film-watch { color: var(--g2); }
.paintings { margin-top: 64px; border-top: 1px solid var(--g4); padding-top: 24px; }
.paintings .cmdline { color: var(--g2); font-size: .875rem; letter-spacing: 0; }
.orb { padding: 0; }
.orb:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; filter: none; }
.viewer .close { min-width: 44px; min-height: 44px; }
.viewer .cap { font-size: .875rem; }
.fs { padding-bottom: 20px; }
.node .path { font-size: .75rem; color: var(--g2); }
.node .desc { font-size: .875rem; line-height: 1.6; opacity: 1; transform: none; }
.node:focus-visible { outline: 2px solid var(--green); outline-offset: 7px; }
.foot { font-size: .75rem; color: var(--g2); }
.foot a { font-size: .875rem; }
@media (max-width: 850px) {
  .tape summary { grid-template-columns: 40px minmax(0, 1fr) 100px 30px; gap: 14px; padding-right: 14px; }
  .tape-number { grid-column: 1; grid-row: 1 / 3; }
  .tape-title { grid-column: 2; grid-row: 1; }
  .tape-date { grid-column: 3; grid-row: 1; }
  .tape-tags { grid-column: 2 / 4; grid-row: 2; }
  .tape-toggle { grid-column: 4; grid-row: 1 / 3; }
  .tape-panel { padding: 0 14px 14px 54px; }
}
@media (max-width: 520px) {
  .shelf-heading { flex-direction: column; gap: 8px; }
  .mark { margin-top: 32px; }
  .film-library { margin-top: 32px; }
  .tape summary { grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 8px 12px; padding: 18px 12px 18px 0; }
  .tape-number { grid-row: 1 / 4; font-size: .75rem; }
  .tape-title { grid-column: 2; grid-row: 1; font-size: 1.6rem; }
  .tape-date { grid-column: 2; grid-row: 2; }
  .tape-tags { grid-column: 2; grid-row: 3; }
  .tape-toggle { grid-column: 3; grid-row: 1 / 4; }
  .tape-panel { padding: 0 0 12px; }
  .film-frame { border-inline: 0; }
  .film-watch { padding-inline: 12px; }
  .film-frame img { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape[open] .tape-panel { animation: none; }
}

/* Página de pinturas e acesso a partir da home. */
.node.painting-entry .label { line-height: 1.15; max-width: 28ch; }
.paintings-page .topbar a { color: var(--green); text-decoration: none; font-size: .875rem; }
.paintings-page .topbar a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.paintings-page .mark h1 { width: auto; max-width: 24ch; font-size: clamp(2rem, 4.5vw, 3.75rem); line-height: 1.15; letter-spacing: .025em; text-transform: none; }
.paintings-page .paintings { margin-top: 32px; }
.paintings-page .pfield { margin-top: 32px; }
