@font-face {
  font-family: FogtwoNo5;
  src: url("/total-eclipse/fonts/fogtwo-no5.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Louize;
  src: url("/total-eclipse/fonts/louize-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Louize;
  src: url("/total-eclipse/fonts/louize-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Recife;
  src: url("/total-eclipse/fonts/recife-book.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Recife;
  src: url("/total-eclipse/fonts/recife-book-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f1eee6;
  --light: #e9eeec;
  --ink: #272c2b;
  --night: #10191d;
  --white: #f6f4eb;
  --title: FogtwoNo5, Georgia, serif;
  --display: Louize, Georgia, serif;
  --text: Recife, Georgia, serif;
  font: 100% var(--text);
  font-synthesis: none;
  color: var(--ink);
  background: var(--night);
  font-kerning: normal;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body,
h1,
h2,
p,
figure {
  margin: 0;
}
body {
  overflow-x: clip;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
h1,
h2,
em {
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: #d6b98b;
  color: #10191d;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 15px;
  background: var(--paper);
  color: var(--ink);
  z-index: 100;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 76px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-size: 0.9rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition:
    background 0.4s,
    color 0.4s,
    opacity 0.35s,
    transform 0.35s;
}
.masthead-name {
  display: flex;
  align-items: center;
  gap: 18px;
}
.masthead-name em {
  font-family: var(--display);
  font-size: 1.18rem;
}
.header-controls button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  min-height: 44px;
}
.past-cover .masthead {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  background: #10191de8;
  backdrop-filter: blur(12px);
}
.on-paper .masthead {
  background: #f1eee6ee;
  color: var(--ink);
}
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 40;
  pointer-events: none;
  visibility: hidden;
}
.past-cover .reading-progress {
  visibility: visible;
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #b2c6c7;
  transform: scaleX(0);
  transform-origin: left;
}
.on-paper .reading-progress span {
  background: #765944;
}
.cover {
  height: 100svh;
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}
.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  transform: scale(1.035);
}
.cover-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at center, #07141b55, #07141b18 80%),
    linear-gradient(0deg, #08131999, transparent 60%);
}
.cover-title {
  position: relative;
  width: calc(100% - 2rem);
  text-align: center;
}
.cover h1 {
  font: clamp(100px, min(14.5vw, 25svh), 220px)/0.88 var(--title);
  letter-spacing: -0.035em;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.cover h1 span {
  display: block;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  @media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .cover h1 {
      background-image: radial-gradient(
        circle clamp(150px, 19vw, 310px) at 50% 50%,
        #14212a40 0%,
        #17252d80 62%,
        #3a4952c9 78%,
        #9aa4a4 88%,
        #fffdf0 95%,
        var(--white) 100%
      );
      background-size: 400% 100%;
      background-position: 0% 50%;
      background-repeat: no-repeat;
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
    }
    .cover h1:hover {
      animation: title-eclipse 4.4s ease-in-out both;
    }
  }
}
@keyframes title-eclipse {
  0% {
    background-position: 0% 50%;
  }
  38%,
  60% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.cover-byline {
  font: 1.5rem var(--display);
  margin: 36px 0 0;
}
.cover-foot {
  position: absolute;
  bottom: 35px;
  left: 4%;
  right: 4%;
  min-height: 56px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.cover-scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
}
.cover-scroll svg {
  width: 22px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: beckon 2.4s ease-in-out infinite;
}
@keyframes beckon {
  0%,
  100% {
    transform: translateY(-4px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}
.cover-foot > p {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
  color: #d4ddd7;
}
.cover h1 > span,
.cover-byline {
  animation: arrive 1.6s both;
}
.cover-byline {
  animation-delay: 0.2s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#reader,
.theme-warm {
  background: var(--paper);
}
.theme-light {
  background: var(--light);
}
.theme-night {
  background: #0b1217;
  color: #e6e9e5;
}
.essay-chapter {
  position: relative;
}
.chapter-divider {
  display: grid;
  grid-template-columns: minmax(30px, 90px) auto minmax(30px, 90px);
  gap: 18px 34px;
  align-items: center;
  justify-content: center;
  padding: 65px 8% 50px;
}
.chapter-eclipse {
  grid-column: 2;
  width: 112px;
  height: 112px;
  justify-self: center;
  overflow: visible;
  color: #96744c;
}
.theme-night .chapter-eclipse {
  color: #e7ddc5;
}
.eclipse-orbit {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.5;
  opacity: 0.18;
}
.eclipse-corona {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  opacity: var(--corona, 0.06);
  filter: drop-shadow(0 0 4px currentColor);
}
.eclipse-sun {
  fill: currentColor;
  opacity: 0.8;
}
.chapter-divider h2 {
  font: 3.8rem/1 var(--display);
  min-width: 90px;
  text-align: center;
}
.chapter-divider h2,
.chapter-line {
  grid-row: 2;
}
.chapter-line {
  height: 1px;
  width: 90px;
  background: currentColor;
  opacity: 0.25;
  max-width: 100%;
}
.paper-block,
.frame-copy {
  position: relative;
  padding: 95px 8% 115px;
}
.prose {
  width: min(100%, 800px);
  margin: 0 auto;
}
.essay-paragraph {
  font: 1.4rem/1.65 var(--text);
  letter-spacing: 0.001em;
  overflow-wrap: break-word;
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}
.reading-passage + .reading-passage {
  margin-top: 1.65rem;
}
.opening-reading {
  padding-top: 10px;
  padding-bottom: 115px;
}
.opening-reading .essay-paragraph {
  font: clamp(28px, 2.7vw, 38px)/1.45 var(--display);
}
.final-reading .reading-passage:last-child p:after {
  content: " ◇";
  font-family: var(--display);
  color: #877254;
  white-space: nowrap;
}
/* Every photograph has the same full-width, full-viewport frame. */
.film-scene {
  position: relative;
  isolation: isolate;
}
.film-frame {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
}
.film-picture {
  position: absolute;
  inset: 0;
  opacity: var(--photo-opacity, 1);
  transform: scale(var(--photo-scale, 1.015));
  transform-origin: center;
}
.film-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #07111780, transparent 28%);
}
/* Selected frames hold in place; their text uses the same centered reading column. */
.is-immersive {
  background: var(--night);
  color: var(--white);
}
.is-immersive .film-frame {
  position: sticky;
  top: 0;
  margin-bottom: -100svh;
  min-height: 0;
}
.is-immersive .film-shade {
  background: linear-gradient(
    90deg,
    #08111622,
    #081116ed 25%,
    #081116ed 75%,
    #08111622
  );
  opacity: var(--reading-shade, 0.8);
}
.is-immersive .frame-copy {
  position: relative;
  z-index: 3;
  padding-top: calc(100svh + 60px);
  padding-bottom: 95px;
  pointer-events: none;
}
.is-immersive .prose {
  pointer-events: auto;
}
.is-immersive .essay-paragraph {
  text-shadow: 0 2px 20px #0005;
}
.colophon {
  background: var(--paper);
  padding: 75px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #7773;
}
.colophon-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.colophon-title > span {
  font: 1.8rem var(--display);
}
.colophon-title > em {
  font-size: 0.95rem;
  color: #687067;
}
.colophon-actions {
  display: flex;
  gap: 35px;
  font-size: 0.9rem;
}
.colophon-actions > a,
.colophon-actions > button {
  padding: 12px 0;
  border-bottom: 1px solid #7775;
}
.dialog-open {
  overflow: hidden;
}
dialog {
  border: 0;
  width: min(660px, calc(100% - 30px));
  max-height: calc(100dvh - 30px);
  padding: 30px 45px 45px;
  color: var(--ink);
  background: var(--paper);
  overflow: auto;
}
dialog::backdrop {
  background: #061016cf;
  backdrop-filter: blur(10px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.dialog-top > button {
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
}
dialog h2 {
  font: 3.5rem/1.05 var(--display);
  margin-bottom: 30px;
}
dialog > p {
  font: 1.1rem/1.6 var(--text);
  margin-bottom: 22px;
}
.text-link {
  display: inline-block;
  padding: 10px 0;
  border-bottom: 1px solid #7778;
  font-size: 0.95rem;
}
.contents-list > a {
  display: grid;
  grid-template-columns: 45px 1fr 22px;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid #7775;
}
.contents-list > a > span:nth-child(2) {
  font: 2rem var(--display);
}
.contents-list > a[aria-current] {
  color: #8a623f;
}
.contents-foot {
  font-size: 0.86rem;
  margin-top: 28px;
  color: #73766e;
}
.reduced-motion *,
.reduced-motion *:before,
.reduced-motion *:after {
  animation: none !important;
  transition: none !important;
}
.reduced-motion .film-picture,
.reduced-motion .cover-photo {
  opacity: 1 !important;
  transform: none !important;
}
@media (min-width: 1800px) {
  .essay-paragraph {
    font-size: 1.5rem;
  }
  .prose {
    width: min(100%, 860px);
  }
}
@media (max-width: 700px) {
  .masthead {
    height: 68px;
    padding: 0 6%;
    font-size: 0.9rem;
  }
  .cover h1 {
    font-size: clamp(94px, 23.5vw, 155px);
    line-height: 0.94;
  }
  .cover-byline {
    font-size: 1.3rem;
    margin-top: 30px;
  }
  .cover-foot {
    left: 7%;
    right: 7%;
    bottom: 26px;
    font-size: 0.81rem;
  }
  .cover-foot > p {
    font-size: 0.79rem;
  }
  .chapter-divider {
    padding: 45px 8% 35px;
    gap: 12px 20px;
    grid-template-columns: 60px auto 60px;
  }
  .chapter-eclipse {
    width: 90px;
    height: 90px;
  }
  .chapter-divider h2 {
    font-size: 3rem;
    min-width: 65px;
  }
  .chapter-line {
    width: 60px;
  }
  .paper-block,
  .frame-copy {
    padding: 60px 6% 75px;
  }
  .essay-paragraph {
    font-size: 1.25rem;
    line-height: 1.62;
  }
  .reading-passage + .reading-passage {
    margin-top: 1.5rem;
  }
  .opening-reading {
    padding-top: 0;
  }
  .opening-reading .essay-paragraph {
    font-size: 1.75rem;
    line-height: 1.45;
  }
  .film-frame {
    min-height: 0;
  }
  .is-immersive .film-shade {
    background: linear-gradient(
      90deg,
      #081116cf,
      #081116eb 20%,
      #081116eb 80%,
      #081116cf
    );
  }
  .is-immersive .frame-copy {
    padding-top: calc(100svh + 45px);
    padding-bottom: 75px;
  }
  .colophon {
    padding: 55px 7.5%;
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }
  .colophon-actions {
    font-size: 0.85rem;
    gap: 28px;
  }
  dialog {
    padding: 25px;
    max-width: 540px;
  }
  dialog h2 {
    font-size: 3rem;
  }
  .contents-list > a > span:nth-child(2) {
    font-size: 1.8rem;
  }
  .dialog-top {
    font-size: 0.8rem;
  }
  .contents-foot {
    font-size: 0.83rem;
  }
}
@media (max-height: 600px) and (min-width: 701px) {
  .cover {
    min-height: 420px;
  }
  .cover h1 {
    font-size: min(20svh, 130px);
  }
  .cover-byline {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cover h1 > *,
  .cover-byline,
  .cover-scroll svg {
    animation: none;
  }
  .film-picture {
    transform: none !important;
    opacity: 1 !important;
  }
  .masthead {
    transition: none;
  }
}
@media print {
  .masthead,
  .reading-progress,
  .cover,
  .film-frame,
  .chapter-eclipse,
  .colophon-actions,
  dialog {
    display: none !important;
  }
  .chapter-divider {
    padding: 20px;
  }
  .essay-chapter,
  .film-scene {
    background: white !important;
    color: black !important;
  }
  .reading-passage {
    min-height: 0 !important;
    padding: 0 !important;
  }
  .frame-copy,
  .paper-block {
    padding: 15px 0 !important;
  }
  .prose {
    width: 100%;
    max-width: none;
  }
  .essay-paragraph,
  .opening-reading .essay-paragraph {
    font: 12pt/1.5 var(--text) !important;
    text-shadow: none !important;
  }
  body {
    background: white;
  }
  .colophon {
    padding: 20px 0;
  }
}
