<?php snippet('html-head', ['pageTitle' => $page->title()->value() . ' · ' . $site->title()->value()]) ?>

<body class="default-page">

<?php snippet('effects') ?>
<?php snippet('header') ?>

<main class="chapter-body" style="padding-top: 140px; min-height: 80vh;">
  <h1 style="font-family: var(--font-display); font-size: clamp(40px,6vw,72px); font-style: italic; font-weight: 300; color: var(--paper); margin-bottom: 2rem;">
    <?= $page->title()->html() ?>
  </h1>
  <?= $page->text()->toHtml() ?>
</main>

<?php snippet('menu', ['currentPage' => $page]) ?>
<?php snippet('scripts') ?>

</body>
</html>
