:root {
  color-scheme: light;
  --paper: #f5efe6;
  --paper-deep: #e8ded1;
  --ink: #191b20;
  --ink-soft: #606169;
  --line: #d7cec2;
  --red: #e84d3d;
  --yellow: #f5bf45;
  --blue: #285c67;
  --white: #fffdf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  line-height: 1.5;
  background:
    radial-gradient(circle at 1px 1px, rgba(25, 27, 32, .07) 1px, transparent 0) 0 0 / 18px 18px,
    var(--paper);
}

body.reader-open { overflow: hidden; }

button { font: inherit; }

.site-shell { overflow: hidden; }

.hero {
  position: relative;
  padding: 1.25rem max(1.25rem, calc((100vw - 1180px) / 2)) 1.1rem;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(40, 92, 103, .98), rgba(25, 27, 32, .98)),
    var(--blue);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .35;
  background: repeating-linear-gradient(132deg, transparent 0 19px, rgba(255,255,255,.08) 20px 21px);
  content: "";
}

.hero-topline,
.hero-bottomline {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 253, 249, .75);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-rule { width: min(10rem, 18vw); height: 1px; margin-left: auto; background: rgba(255, 253, 249, .35); }

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1180px;
  min-height: 25rem;
  margin: 0 auto;
  padding: 4rem 0 4.5rem;
}

.hero-copy { max-width: 45rem; }

.eyebrow,
.section-kicker {
  margin: 0 0 .7rem;
  color: var(--red);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--yellow); }

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1,
h2,
h3 { line-height: .98; }

h1 {
  max-width: 10ch;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.2rem, 11vw, 9.8rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .78;
  text-transform: uppercase;
}

h1 span { display: block; color: var(--white); }
h1 em { display: block; margin-left: .12em; color: var(--yellow); font-style: normal; }

.hero-description {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 253, 249, .82);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.hero-description:empty { display: none; }

.hero-stamp {
  display: grid;
  place-items: center;
  align-content: center;
  width: clamp(8.5rem, 18vw, 12rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: clamp(.75rem, 1.7vw, 1rem);
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(9deg);
}

.hero-stamp strong { color: var(--red); font-size: 1.15em; line-height: .7; }

.hero-bottomline {
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 249, .24);
}

.hero-link {
  flex: 1 1 0;
  padding: .55rem .75rem;
  border: 1px solid rgba(255, 253, 249, .3);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.page-intro { margin-bottom: clamp(2rem, 5vw, 4rem); }
.page-intro h2 { max-width: 18ch; margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.05em; }
.page-intro p:last-child { max-width: 42rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: 1.1rem; }
.back-link { display: inline-block; margin-bottom: 1.5rem; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.back-link:hover, .back-link:focus-visible { color: var(--red); }

main { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; padding: 4rem 0 2.5rem; }

.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-left: .65rem solid var(--red);
  background: rgba(255, 253, 249, .84);
  box-shadow: .45rem .45rem 0 rgba(25, 27, 32, .09);
}

.notice h2 { max-width: 16ch; margin: 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 3rem); letter-spacing: -.045em; }
.notice p:last-child { max-width: 52rem; margin: .8rem 0 0; color: var(--ink-soft); }
.notice-mark { color: var(--yellow); font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; transform: rotate(12deg); }

.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(4rem, 8vw, 7rem); }

.channel { min-width: 0; }

.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; }

.cards { display: grid; gap: 1.5rem; }

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: .45rem .45rem 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.card:focus-within { box-shadow: .65rem .65rem 0 var(--ink); transform: translate(-.2rem, -.2rem); }

.card-art {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  background: var(--paper-deep);
}
.card-art picture { display: block; }

.card-art::after {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .4rem .55rem;
  color: var(--white);
  background: var(--ink);
  content: "abrir ↗";
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(-.3rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.card:hover .card-art::after,
.card:focus-within .card-art::after { opacity: 1; transform: translateY(0); }

.card img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; }

.card-body { padding: 1.25rem 1.35rem 1.4rem; }
.card-body h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.035em; }
.card-body p:not(.date) { margin: .75rem 0 0; color: var(--ink-soft); }
.date { margin: 0 0 .6rem; color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.card-open { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; padding: .6rem .8rem; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; background: transparent; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: color 180ms ease, background 180ms ease; }
.card-open:hover, .card-open:focus-visible { color: var(--white); background: var(--ink); }

.empty { padding: 1.25rem; color: var(--ink-soft); border: 1px dashed var(--line); background: rgba(255, 253, 249, .6); }

footer { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 2.5rem 1.25rem 3.5rem; color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }

.reader {
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #101216;
}

.reader[open] { display: block; }
.reader::backdrop { background: #101216; }
.reader-topbar, .reader-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reader-topbar { position: absolute; top: 1rem; right: 1rem; z-index: 3; padding: 0; }
.reader-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reader-close { width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: var(--white); cursor: pointer; background: transparent; font-size: 1.8rem; line-height: 1; }
.reader-close:hover, .reader-close:focus-visible { color: var(--ink); background: var(--yellow); }
.reader-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; width: 100%; height: 100%; min-height: 0; overflow: hidden; padding: 0; }
.reader-stage.is-paged { grid-template-columns: minmax(0, 1fr); gap: 0; }
.reader-pages { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0 auto; }
.reader-page { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; min-height: 0; margin: 0; }
.reader-page picture { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; width: 100%; min-height: 0; }
.reader-page img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.reader-page figcaption { padding-top: .4rem; color: rgba(255,255,255,.54); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.reader-nav { position: absolute; top: 50%; z-index: 2; width: clamp(2.6rem, 5vw, 3.5rem); height: clamp(3.5rem, 10vw, 5rem); border: 1px solid rgba(255,255,255,.38); color: var(--white); cursor: pointer; background: rgba(16, 18, 22, .45); font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; transform: translateY(-50%); }
.reader-previous { left: 1rem; }
.reader-next { right: 1rem; }
.reader-nav:hover, .reader-nav:focus-visible { color: var(--ink); background: var(--yellow); }
.reader-nav:disabled { cursor: default; opacity: .3; }
.reader-nav[hidden] { display: none; }
.reader-info { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 760px) {
  .hero-layout { align-items: flex-start; min-height: 0; padding: 3.5rem 0 3rem; }
  .hero-stamp { width: 6.5rem; margin-top: 2rem; font-size: .58rem; }
  .hero-bottomline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; font-size: .56rem; letter-spacing: .08em; }
  .hero-link { padding-inline: .3rem; }
  main { width: min(100% - 1.5rem, 42rem); padding-top: 2rem; }
  .notice { align-items: flex-start; padding: 1.3rem; }
  .notice-mark { font-size: 3rem; }
  .columns { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 4rem; }
  .section-heading h2 { font-size: 2.5rem; }
  .card img { max-height: none; }
  footer { flex-direction: column; gap: .55rem; padding-bottom: 2rem; }
}

@media (max-width: 440px) {
  .hero { padding-inline: 1rem; }
  .hero-topline { font-size: .56rem; letter-spacing: .08em; }
  .hero-topline .hero-rule, .hero-topline span:last-child { display: none; }
  .hero-layout { gap: .7rem; }
  h1 { font-size: clamp(3.3rem, 19vw, 5.4rem); }
  .hero-stamp { width: 5.3rem; margin-top: 1.3rem; }
  .notice { gap: .8rem; }
  .notice-mark { font-size: 2.4rem; }
  .card-body { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
