@font-face {
  font-family: BeforewordOpeningInk;
  src: url('/assets/music-pen-20261105/BeforewordBallpoint-Regular.woff2') format('woff2');
  font-display: swap;
}
.bw-film-home .pen-book-spread {
  grid-template-areas: "cover cover" "example film" "scope scope" "proposal proposal" "contents contents";
}
.home-opening {
  grid-area: cover;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  grid-template-areas: "intro scene" "proposal scene" "routes scene";
  align-items: start;
  gap: 1rem clamp(40px, 5vw, 76px);
}
.home-opening-intro { grid-area: intro; }
.home-opening-author, .home-scene-label {
  font-size: .79em;
  color: var(--sub);
  line-height: 1.4;
  margin: 0 0 1.15rem;
}
.home-opening h1 {
  color: var(--ink);
  font-family: inherit;
  font-size: clamp(2.05em, 3.7vw, 2.95em);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.046em;
  max-width: 24ch;
  text-wrap: balance;
  margin: 0 0 1.25rem;
}
.home-opening h1 span {
  font-family: BeforewordOpeningInk, sans-serif;
  letter-spacing: -.02em;
  color: var(--pen-blue);
}
.home-opening-lead, .home-opening-proposal {
  font-size: 1em;
  line-height: 1.55;
  margin: 0;
  max-width: 57ch;
}
.home-opening-proposal {
  grid-area: proposal;
  font-size: .92em;
  border-inline-start: 2px solid var(--pen-green, #286747);
  padding-inline-start: .9rem;
}
.home-opening-scene {
  grid-area: scene;
  border-inline-start: 1px solid var(--h34-rule);
  padding: .15rem 0 .15rem clamp(24px, 3vw, 44px);
  align-self: center;
}
.home-scene-heading {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 .65rem;
}
.home-opening-scene .home-scene-label { margin: 0; }
.home-opening-scene .home-scene-sketch {
  display: block;
  flex: 0 0 auto;
  width: 4.1rem;
  height: 2.87rem;
  overflow: hidden;
}
html[data-theme="dark"] .home-scene-sketch image { filter: url(#ballpoint-dark); }
.home-opening-scene h2 {
  font-size: clamp(1.37em, 2.4vw, 1.95em);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 .9rem;
}
.home-opening-scene > p:not(.home-scene-label) { margin: 0 0 .55rem; font-size: .98em; line-height: 1.5; max-width: 46ch; }
.home-opening a:focus-visible { outline: 2px solid var(--pen-blue); outline-offset: 3px; }
.home-opening .home-scene-more {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  font-size: .96em;
  font-weight: 600;
  color: var(--pen-blue);
  text-decoration: underline;
  text-underline-offset: .24em;
}
.home-opening-routes { grid-area: routes; display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.2rem; }
.home-opening-routes a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: .88em; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .21em;
}
.bw-film-home .home-opening-film {
  grid-area: film;
  justify-self: center;
  margin: 0;
  width: 100%;
  max-width: 326px;
  min-width: 0;
  scroll-margin-top: 92px;
  padding: 30px 0 0;
  border-block-start: 1px solid var(--h34-rule);
}
/* The document already leaves room for its sticky header on fragment jumps. */
.bw-film-home .home-opening-film #home-film { scroll-margin-block-start: 0; }
@media (max-height: 760px) {
  /* Keep the complete portrait poster and its play label within a short viewport. */
  .bw-film-home .home-opening-film .bw-film-stage {
    width: min(100%, max(210px, calc(56.25svh - 4.65rem)));
    margin-inline: auto;
  }
}
.bw-film-home .home-opening-film > h2 { font-size: 1.36em; }
.bw-film-home .home-opening-film .bw-film-byline { margin: 0 0 .5rem; }
.home-opening-film .home-film-context { margin: 0 0 .9rem; font-size: .86em; line-height: 1.5; }
.bw-film-home .h37-example > .home-opening-conclusion {
  margin: 1.55rem 0 0;
  border-block-start: 1px solid var(--h34-rule);
  padding-block-start: 1rem;
  color: var(--pen-blue);
  line-height: 1.38;
  font-size: 1.22em;
  text-wrap: pretty;
}
@media (min-width: 901px) {
  .bw-film-home .h39-catalog-anchor > .h34-catalog { border-inline-start: 0; padding-inline-start: 0; }
  .bw-film-home .h39-catalog-anchor .pen-contents ol { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(30px, 5vw, 76px); }
}
@media (max-width: 900px) {
  .bw-film-home .pen-book-spread { grid-template-areas: "cover" "example" "film" "scope" "proposal" "contents"; }
  .home-opening { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "scene" "proposal" "routes"; row-gap: 1rem; }
  .home-opening-scene { border-inline-start: 2px solid var(--h34-rule); padding: .1rem 0 .1rem 1rem; }
  .home-opening h1 { font-size: clamp(1.94em, 5.4vw, 2.7em); }
}
@media (max-width: 600px) {
  .home-opening-author { margin-bottom: .75rem; }
  .home-opening h1 { font-size: 1.93em; margin-bottom: .8rem; }
  .home-opening-scene h2 { margin-bottom: .55rem; }
  .home-scene-heading { margin-bottom: .4rem; }
  .home-opening-scene .home-scene-sketch { width: 3rem; height: 2.1rem; }
  .home-opening-routes { column-gap: 1rem; }
  .home-opening-proposal { border-inline-start: 0; padding-inline-start: 0; }
  .bw-film-home .home-opening-film { padding-top: 20px; }
}
