/* Printed header, crop marks, ink drums, filter tabs */

.sheet {
  position: relative;
  z-index: 1;
  max-width: var(--wall);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 3rem;
}

/* Crop marks at the four corners of the printed sheet */
.crop {
  position: absolute;
  width: 26px; height: 26px;
  pointer-events: none;
}
.crop::before, .crop::after { content: ""; position: absolute; background: var(--charcoal); }
.crop::before { width: 1px; height: 18px; }
.crop::after { width: 18px; height: 1px; }
.crop--tl { top: 10px; left: 10px; }
.crop--tl::before { left: 8px; top: 0; } .crop--tl::after { top: 8px; left: 0; }
.crop--tr { top: 10px; right: 10px; }
.crop--tr::before { right: 8px; top: 0; } .crop--tr::after { top: 8px; right: 0; }
.crop--bl { bottom: 10px; left: 10px; }
.crop--bl::before { left: 8px; bottom: 0; } .crop--bl::after { bottom: 8px; left: 0; }
.crop--br { bottom: 10px; right: 10px; }
.crop--br::before { right: 8px; bottom: 0; } .crop--br::after { bottom: 8px; right: 0; }

.masthead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--charcoal);
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.kicker .reg {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1.5px solid var(--charcoal);
  border-radius: 50%;
  position: relative;
}
.kicker .reg::before, .kicker .reg::after { content: ""; position: absolute; background: var(--charcoal); }
.kicker .reg::before { width: 30px; height: 1px; }
.kicker .reg::after { width: 1px; height: 30px; }

h1.title {
  font-family: var(--sans);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.2vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  position: relative;
}
h1.title .ink-pink { color: var(--riso-pink); mix-blend-mode: multiply; }
h1.title .ink-blue {
  color: var(--soy-blue);
  mix-blend-mode: multiply;
  display: inline-block;
  transform: translate(1.5px, 1.5px);
}
h1.title .vol { display: block; font-size: 0.42em; letter-spacing: -0.02em; margin-top: 0.35em; }

.colophon {
  max-width: 24rem;
  font-size: 0.95rem;
  line-height: 1.45;
}
.colophon p + p { margin-top: 0.7rem; }

/* Ink-drum swatches */
.drums {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule-strong);
  list-style: none;
  margin: 0;
}
.drums li { display: flex; align-items: center; gap: 0.55rem; }
.drum {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--charcoal);
  position: relative;
  flex: none;
  background: var(--c);
}
.drum::after {
  content: "";
  position: absolute;
  inset: 5px 7px 12px 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.drums .mono b { display: block; font-size: 0.7rem; }
.drums .mono span { color: var(--muted); font-size: 0.62rem; }

/* Filter tabs: radio inputs sit before .wall so :checked can reach it */
.filter-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0.5rem;
  position: relative;
  z-index: 2;
}
.tab {
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  padding: 0.7rem 1.1rem 0.65rem;
  min-height: 44px;
  border: 2px solid var(--charcoal);
  background: var(--newsprint);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--charcoal);
  transition: transform 0.45s var(--spring), box-shadow 0.45s var(--spring), background-color 0.3s var(--spring);
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  user-select: none;
}
.tab .mono { font-size: 0.65rem; opacity: 0.7; }
.tab:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 var(--charcoal); }

#f-all:checked ~ .tabs label[for="f-all"],
#f-tokyo:checked ~ .tabs label[for="f-tokyo"],
#f-prague:checked ~ .tabs label[for="f-prague"],
#f-maritime:checked ~ .tabs label[for="f-maritime"] {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--charcoal);
}
#f-all:checked ~ .tabs label[for="f-all"] { background: var(--marigold); }
#f-tokyo:checked ~ .tabs label[for="f-tokyo"] { background: var(--riso-pink); }
#f-prague:checked ~ .tabs label[for="f-prague"] { background: var(--soy-blue); color: #fff; }
#f-maritime:checked ~ .tabs label[for="f-maritime"] { background: var(--forest); color: #fff; }

.filter-input:focus-visible ~ .tabs label { outline: none; }
#f-all:focus-visible ~ .tabs label[for="f-all"],
#f-tokyo:focus-visible ~ .tabs label[for="f-tokyo"],
#f-prague:focus-visible ~ .tabs label[for="f-prague"],
#f-maritime:focus-visible ~ .tabs label[for="f-maritime"] {
  outline: 3px solid var(--soy-blue);
  outline-offset: 3px;
}

.tab-note {
  min-height: 1.4em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr; }
  .tab { flex: 1 1 calc(50% - 0.6rem); justify-content: space-between; }
}
