/* Páginas estáticas de cada trabalho (trabalhos/*.html), geradas por gerar-seo.ps1.
   Leves e legíveis sem JavaScript: são as páginas que os buscadores indexam. */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("../assets/fonts/dm-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #e8e7e2;
  --ink: #0a0a0b;
  --mute: #5e5d59;
  --mark: #5a3df0;
  --gut: clamp(16px, 3.2vw, 48px);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 clamp(1rem, .96rem + .2vw, 1.15rem)/1.5 var(--display); overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }

.top, .crumbs, .facts dt, .go, .pn span, .foot, .yt span {
  font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .02em;
}
.top { display: flex; justify-content: space-between; align-items: center; padding: var(--gut); gap: 16px; }
.mark { display: block; width: 48px; height: 32px; }
.mark svg { width: 100%; height: 100%; fill: var(--ink); }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: flex-end; }
.top nav a { text-decoration: none; padding: 6px 0; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

main { padding: 0 var(--gut) clamp(48px, 8vw, 120px); }
.crumbs { color: var(--mute); margin: clamp(24px, 6vw, 80px) 0 16px; }
.crumbs a { text-decoration: none; }
.crumbs::before { content: "// "; }
h1 {
  margin: 0 0 clamp(28px, 4vw, 56px);
  font-size: clamp(3rem, 11vw, 11rem); line-height: .86; font-weight: 800; font-stretch: 62%;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.facts { margin: 0 0 clamp(32px, 5vw, 64px); max-width: 52rem; }
.facts div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink); }
.facts dt::before { content: "[ ] "; }
.facts dd { margin: 0; }
.text { max-width: 40rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.4; }
.text p { margin: 0 0 1em; }
.text .lead { font-weight: 700; font-size: 1.15em; }
.go { display: inline-block; text-decoration: none; background: var(--ink); color: var(--paper); padding: 14px 18px 13px; margin: 8px 0 clamp(40px, 6vw, 80px); }
.go::before { content: "> "; }
.go:hover, .go:focus-visible { background: var(--mark); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }
.gallery figure { margin: 0; background: #d8d7d1; }
.gallery img, .gallery video { display: block; width: 100%; height: auto; }
.yt { display: block; text-decoration: none; }
.yt span { display: block; padding: 10px; }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--ink); }
.pn a { text-decoration: none; padding: 16px 0; font-weight: 700; font-size: clamp(1.2rem, 1rem + 1vw, 2rem); font-stretch: 62%; text-transform: uppercase; line-height: 1; }
.pn a:last-child { text-align: right; }
.pn span { display: block; color: var(--mute); font-weight: 400; margin-bottom: 8px; }
.pn a:hover { color: var(--mark); }

.foot { padding: var(--gut); border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
