@font-face {
  font-family: 'Post World';
  src: url('/assets/post-world-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: block;
}

/* The film showcase keeps its existing type, spacing, media and interactions. */
.masthead .pw-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 64px;
  min-height: 44px;
  text-shadow: none;
}

.pw-brand .post-world-globe {
  display: block;
  width: 62px;
  height: 31px;
  overflow: visible;
  stroke-width: 3.2;
  filter: drop-shadow(0 1px 1px #0008);
}

#study-loader {
  position: fixed;
  cursor: default;
}

.pw-intro-mark {
  width: clamp(168px, 17vw, 232px);
  color: #f7f7f4;
  transform: translateY(-4svh);
}

.post-world-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.pw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: pw-draw 1.15s cubic-bezier(.22, 1, .36, 1) both;
}

.pw-line:nth-child(2) { animation-delay: .12s; }
.pw-line:nth-child(3) { animation-delay: .22s; }
.pw-line:nth-child(4) { animation-delay: .3s; }
.pw-line:nth-child(5) { animation-delay: .36s; }
.pw-line:nth-child(6) { animation-delay: .42s; }

.pw-lettering {
  opacity: 0;
  filter: blur(3px);
  animation: pw-resolve .8s .6s cubic-bezier(.22, 1, .36, 1) both;
}

body.is-loading > .masthead,
body.is-loading #view-root,
body.is-loading > #info-toggle {
  visibility: hidden;
}

@keyframes pw-draw { to { stroke-dashoffset: 0; } }
@keyframes pw-resolve { to { opacity: 1; filter: blur(0); } }

@media (max-width: 600px) {
  .masthead .pw-brand { width: 58px; }
  .pw-brand .post-world-globe { width: 56px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .pw-line { animation: none; stroke-dashoffset: 0; }
  .pw-lettering { animation: none; opacity: 1; filter: none; }
}

/* Persistent Theater entry, sized to the existing navigation. */
.masthead-actions{display:flex;align-items:center;gap:24px;pointer-events:auto}
.masthead-actions .theater-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
@media(max-width:600px){.masthead-actions{gap:20px}}
