body { background-color: #EFE6D8; } /* Slightly nice than solid white */

/* Header logo mark — stands in for the "M" of "emoryMovies", sized off
   the header's own font-size so it scales with it automatically.
   Edit --logo-size (mark height/width) and --logo-offset (gap before
   the text — negative tightens it) to adjust the fit. */
.logo-mark {
  --logo-size: 1.45em;
  --logo-offset: -0.05em;
  height: var(--logo-size);
  width: var(--logo-size);
  margin-right: var(--logo-offset);
  display: inline-block;
  vertical-align: middle;
}

.sprocket-edge {
    position: relative;
    padding-left: 28px;
    padding-right: 28px;
}
.sprocket-edge::before,
.sprocket-edge::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14px;
    background-image: radial-gradient(circle, #211714 3.5px, transparent 3.6px);
    background-size: 14px 22px;
    background-repeat: repeat-y;
    background-position: center;
    opacity: 0.15;
}
.sprocket-edge::before { left: 0; }
.sprocket-edge::after { right: 0; }

/* VCR counter — the signature stat element */
.counter-digit {
    display: inline-block;
    background: #211714;
    color: #EFE6D8;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    padding: 0.15em 0.05em;
    border-radius: 2px;
    min-width: 0.72em;
    text-align: center;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.5);
}

/* In dark mode the page background is ink too, so the counter box needs
   flipped colours or it disappears against it. */
.dark .counter-digit {
    background: #EFE6D8;
    color: #211714;
    box-shadow: inset 0 2px 3px rgba(0,0,0,0.25);
}

.hairline { border-color: #B8935A; }

.deco-corner {
    position: relative;
}
.deco-corner::before, .deco-corner::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1.5px solid #B8935A;
}
.deco-corner::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.deco-corner::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }