@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorant-garamond-normal-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("assets/fonts/cormorant-garamond-italic-400.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-normal-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --void: #080f12;
  --ice: #daf0ff;
  --muted: #a2b4ba;
  --paper: #d9d6c7;
  --ink: #303932;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: Cormorant, Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #637d86 var(--void);
  scrollbar-width: thin;
  color-scheme: dark;
}
body {
  margin: 0;
  background: var(--void);
  color: var(--ice);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
body.focus-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
::selection {
  color: var(--void);
  background: #c0e3ed;
}
:focus-visible {
  outline: 1px solid var(--ice);
  outline-offset: 8px;
}
/* Keep the pieces frameless, including after focus returns from reading. */
.fragment__open:focus {
  outline: none;
}
.fragment__open:focus-visible .fragment__caption {
  color: var(--ice);
}
.fragment__open:focus-visible .fragment__caption svg {
  opacity: 1;
  transform: translate(3px, -3px) scale(1.25);
  filter: drop-shadow(0 0 5px currentColor);
}
button svg,
a svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  flex-shrink: 0;
}
button:focus:not(:focus-visible) {
  outline: 0;
}
[hidden] {
  display: none !important;
}
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}
.atmosphere > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) brightness(0.34);
  opacity: 0.65;
  transform: scale(1.06);
}
.atmosphere__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 15, 18, 0.28),
    rgba(8, 15, 18, 0.88) 90%
  );
}
#ether {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  opacity: 0.7;
}
.site-header {
  height: 105px;
  padding: 30px 4.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 6;
}
.home-mark {
  display: block;
  width: 86px;
}
.home-mark img {
  display: block;
  width: 100%;
  height: auto;
}
.header-note {
  font-size: 11px;
  letter-spacing: 0.11em;
  color: var(--muted);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 0.035em;
  line-height: 1.6;
}
.text-button:hover {
  color: #fff;
}
.text-button svg {
  transition: transform 0.5s var(--ease);
}
.text-button:hover svg {
  transform: translate(2px, -2px);
}
.introduction {
  text-align: center;
  padding: 63px 24px 0;
  position: relative;
}
.introduction h1 {
  width: clamp(230px, 24vw, 355px);
  margin: 0 auto;
}
.introduction h1 img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.16));
}
.introduction p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.035em;
  margin: 27px 0 0;
}
.introduction p span {
  color: var(--ice);
}
.introduction .prototype-disclosure {
  font-size: 10px;
  margin-top: 10px;
  color: var(--muted);
}
.scroll-invitation {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  margin-top: 38px;
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.scroll-invitation svg {
  height: 32px;
  width: 16px;
}
.introduction {
  animation: arrival 1.4s var(--ease) both;
}
@keyframes arrival {
  from {
    filter: blur(8px);
    transform: translateY(12px);
  }
  to {
    filter: blur(0);
    transform: translateY(0);
  }
}
.flow {
  max-width: 1512px;
  margin: 0 auto;
  padding: 0 7.8vw;
  outline: none;
  scroll-margin-top: 50px;
}
.fragment {
  min-width: 0;
  position: relative;
  margin: 0;
  isolation: isolate;
}
.fragment__body {
  position: relative;
  isolation: isolate;
  transform-origin: 50% 50%;
}
.fragment:focus-within .fragment__body {
  filter: none !important;
  opacity: 1 !important;
}
.fragment__aura {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--aura, 0.2);
  filter: blur(42px) saturate(0.7);
  transform: scale(1.12);
  z-index: -1;
  pointer-events: none;
}
.fragment__open {
  transform: rotate(var(--angle, 1deg));
  transform-origin: 50% 50%;
  transition: transform 0.85s var(--ease);
  display: block;
  padding: 0;
  width: 100%;
  text-align: left;
  position: relative;
}
.fragment__visual {
  position: relative;
  overflow: hidden;
  background: #17272c;
}
.fragment__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 1.3s var(--ease);
  transform: translateY(var(--image-drift, 0px)) scale(var(--image-zoom, 1.1));
}
.fragment__open:hover .fragment__visual img {
  transform: translateY(var(--image-drift, 0px)) scale(1.14);
  filter: brightness(1.08);
}
.fragment__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.fragment__caption svg {
  width: 16px;
  height: 16px;
  opacity: 0.65;
  transition: transform 0.5s var(--ease);
}
.fragment__open:hover .fragment__caption svg {
  transform: translate(3px, -3px);
}
.fragment__text {
  font: 400 clamp(28px, 3.15vw, 49px)/1.13 var(--serif);
  white-space: pre-line;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: pretty;
}
.fragment__note {
  font: 10px/1.7 var(--sans);
  color: var(--muted);
  display: block;
  margin-top: 27px;
  letter-spacing: 0.04em;
}
.fragment--image .fragment__visual {
  aspect-ratio: 1.38;
}
.fragment--video .fragment__visual {
  aspect-ratio: 1.65;
}
.fragment--paper .fragment__open {
  background: var(--paper);
  color: var(--ink);
  padding: 42px 35px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.17);
}
.fragment--paper .fragment__text {
  font-size: clamp(27px, 2.6vw, 39px);
  line-height: 1.18;
}
.fragment--paper .fragment__note {
  color: #536053;
}
.fragment--paper .fragment__caption {
  color: #536053;
  margin-top: 35px;
}
.fragment--large .fragment__text {
  font-style: italic;
  font-size: clamp(38px, 4.1vw, 64px);
}
.fragment--small .fragment__text {
  font-size: clamp(32px, 3.3vw, 51px);
}
.fragment--essay h2 {
  font: 400 clamp(30px, 3.5vw, 48px)/1.1 var(--serif);
  letter-spacing: -0.025em;
  margin: 0 0 25px;
}
.fragment--essay .fragment__text {
  font: 400 15px/1.95 var(--sans);
  letter-spacing: 0;
  color: #b8c8cc;
  max-width: 38ch;
}
.fragment--essay .fragment__caption {
  margin-top: 30px;
}
.fragment--closing {
  text-align: center;
}
.fragment--closing .fragment__open {
  text-align: center;
}
.fragment--closing .fragment__text {
  font-style: italic;
  font-size: clamp(45px, 5.5vw, 78px);
}
.fragment--closing .fragment__caption {
  justify-content: center;
}
.fragment--portrait .fragment__visual,
.fragment--tall .fragment__visual {
  aspect-ratio: 0.8;
}
@media (min-width: 1100px) {
  .flow {
    max-width: 1660px;
    padding-inline: 6vw;
  }
  .fragment__text {
    font-size: clamp(29px, 2.65vw, 43px);
  }
  .fragment--large .fragment__text {
    font-size: clamp(34px, 3.2vw, 52px);
  }
  .fragment--small .fragment__text {
    font-size: clamp(30px, 2.8vw, 45px);
  }
  .fragment--paper .fragment__open {
    padding: 34px 28px;
  }
  .fragment--paper .fragment__text {
    font-size: clamp(26px, 2.2vw, 35px);
  }
  .fragment--essay h2 {
    font-size: clamp(30px, 2.8vw, 44px);
  }
  .fragment--essay .fragment__text {
    font-size: 14px;
  }
  .fragment--closing .fragment__text {
    font-size: clamp(38px, 3.7vw, 59px);
  }
}
.play-mark {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(8, 15, 18, 0.5);
  border: 1px solid rgba(218, 240, 255, 0.55);
  border-radius: 50%;
  backdrop-filter: blur(5px);
}
.play-mark svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke-width: 0;
  margin-left: 2px;
}
.video-label {
  position: absolute;
  bottom: 37px;
  right: 24px;
  font-size: 9px;
  letter-spacing: 0.13em;
  color: #fff;
}
.flow-continuation {
  text-align: center;
  padding: 60px 24px 140px;
  color: var(--muted);
}
.status-message {
  text-align: center;
  color: var(--muted);
}
.status-message:empty {
  display: none;
}
.collection-end {
  padding: 130px 7.8vw 45px;
  text-align: center;
}
.collection-end > p {
  font: 400 clamp(42px, 5vw, 70px)/1.1 var(--serif);
  margin: 0 0 30px;
}
.collection-end > p em {
  color: #b3c6ce;
}
.colophon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 140px;
  padding-top: 25px;
  border-top: 1px solid rgba(218, 240, 255, 0.12);
}
.specimen-note {
  background: rgba(8, 15, 18, 0.94);
  padding: 7px 11px;
  position: fixed;
  bottom: 23px;
  left: 4.2vw;
  z-index: 6;
  font-size: 9px;
  letter-spacing: 0.055em;
  color: #a2b4ba;
  text-shadow: 0 2px 8px #000;
}
.specimen-note span {
  padding: 0 7px;
}
.specimen-note button {
  font-size: inherit;
  letter-spacing: inherit;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.focus-open .specimen-note {
  visibility: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  background: var(--ice);
  color: var(--void);
  padding: 15px;
}
.skip-link:focus {
  top: 20px;
}
.noscript {
  padding: 80px;
  text-align: center;
}
.media-error {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 24px;
  text-align: center;
  font: 12px/1.8 var(--sans);
  color: var(--muted);
}
@media (min-width: 1800px) {
  .flow {
    padding: 0 100px;
  }
  .site-header {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 85px;
    padding: 22px 6vw;
  }
  .home-mark {
    width: 70px;
  }
  .header-note {
    display: none;
  }
  .site-header .text-button {
    font-size: 10px;
  }
  .introduction {
    padding-top: 52px;
  }
  .introduction h1 {
    width: 245px;
  }
  .introduction p {
    font-size: 10px;
    margin-top: 25px;
  }
  .scroll-invitation {
    margin-top: 30px;
  }
  .flow {
    padding: 0 8vw;
  }
  .fragment--opening .fragment__text {
    font-size: 43px;
  }
  .fragment__text {
    font-size: 37px;
  }
  .fragment--large .fragment__text {
    font-size: 43px;
  }
  .fragment--paper .fragment__text {
    font-size: 32px;
  }
  .fragment--small .fragment__text {
    font-size: 39px;
  }
  .fragment--essay h2 {
    font-size: 40px;
  }
  .fragment--essay .fragment__text {
    font-size: 14px;
  }
  .fragment--closing .fragment__text {
    font-size: 49px;
  }
  .fragment__caption {
    margin-top: 12px;
    font-size: 9px;
  }
  .fragment__note {
    margin-top: 23px;
  }
  .specimen-note {
    font-size: 8px;
    bottom: 15px;
    left: 6vw;
  }
  .flow-continuation {
    padding: 80px 20px;
  }
  .collection-end {
    padding-top: 150px;
    padding-bottom: 70px;
  }
  .colophon {
    margin-top: 100px;
    flex-direction: column;
    gap: 15px;
    font-size: 9px;
  }
  .reader-toolbar {
    padding: 12px 18px;
  }
  .reader-toolbar > div {
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .fragment {
    filter: none !important;
    opacity: 1 !important;
    --evaporation: 0 !important;
  }
  #ether {
    display: none;
  }
  .fragment__visual img {
    transform: none !important;
  }
}

/* Motion is a material layer: glacial refraction, suspended pieces, dissolving focus. */
#liquid-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.has-liquid #liquid-background {
  opacity: 1;
}
.has-liquid .atmosphere > img {
  opacity: 0;
}
#ether {
  opacity: 0.9;
  filter: blur(12px);
  transform: scale(1.035);
}
.atmosphere__shade {
  background: linear-gradient(
    180deg,
    rgba(8, 15, 18, 0.13),
    rgba(8, 15, 18, 0.6) 90%
  );
}
.introduction h1 {
  animation: logo-suspension 10s ease-in-out infinite;
}
@keyframes logo-suspension {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-0.6deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(0.6deg);
  }
}
.scroll-invitation svg {
  animation: invitation-drift 3s ease-in-out infinite;
}
@keyframes invitation-drift {
  0%,
  100% {
    transform: translateY(-3px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}
main {
  transition:
    filter 0.9s var(--ease),
    opacity 0.9s var(--ease);
}
@keyframes reading-resolves {
  from {
    filter: blur(14px);
    transform: translateY(28px);
    opacity: 0.3;
  }
  to {
    filter: blur(0);
    transform: none;
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .fragment--paper .fragment__open {
    padding: 33px 25px;
  }
  .fragment__aura {
    filter: blur(28px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fragment__body {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .fragment__aura {
    display: none;
  }
  #liquid-background {
    display: none;
  }
  .has-liquid .atmosphere > img {
    opacity: 0.65;
  }
}

/* Independent, content-height columns. The scene remains the reading surface. */
.flow {
  position: relative;
}
.flow > .fragment {
  position: absolute;
  margin: 0;
}
.fragment__visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.piece-actions,
.piece-status:empty {
  display: none;
}
.piece-status {
  font: 11px/1.7 var(--sans);
  color: var(--muted);
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.icon-button svg {
  width: 24px;
  height: 24px;
}
.focus-open .fragment:not(.is-focused) .fragment__body {
  filter: blur(13px) !important;
  opacity: 0.13 !important;
  transition:
    filter 0.8s var(--ease),
    opacity 0.8s var(--ease);
}
.focus-open .introduction,
.focus-open .site-header,
.focus-open .collection-end,
.focus-open .flow-continuation {
  filter: blur(9px);
  opacity: 0.16;
  transition:
    filter 0.8s var(--ease),
    opacity 0.8s var(--ease);
}
.fragment.is-focused {
  z-index: 30;
}
.is-focused .fragment__body {
  position: fixed;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(720px, calc(100vw - 64px));
  max-height: calc(100svh - 64px);
  padding: 20px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #637d86 transparent;
  filter: none !important;
  opacity: 1 !important;
  transform: none;
}
.is-focused.fragment--image .fragment__body,
.is-focused.fragment--video .fragment__body {
  width: min(1050px, calc(100vw - 64px));
}
.is-focused.fragment--paper .fragment__body {
  width: min(600px, calc(100vw - 64px));
}
.is-focused .fragment__aura {
  display: none;
}
.is-focused .fragment__open {
  transform: rotate(0deg);
  cursor: default;
}
.is-focused .piece-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}
.is-focused .fragment__text {
  font: 400 clamp(34px, 4.5vw, 64px)/1.18 var(--serif);
  letter-spacing: -0.025em;
}
.is-focused.fragment--quote .fragment__text {
  font-style: italic;
}
.is-focused.fragment--paper .fragment__open {
  padding: 40px;
}
.is-focused.fragment--paper .fragment__text {
  font-size: clamp(30px, 3.8vw, 47px);
}
.is-focused .fragment__visual {
  aspect-ratio: auto !important;
  background: transparent;
}
.is-focused .fragment__visual img,
.is-focused .fragment__visual video {
  width: 100%;
  height: auto;
  max-height: 65svh;
  object-fit: contain;
  transform: none !important;
  filter: none;
}
.is-focused .fragment__caption {
  margin-top: 25px;
}
.is-focused .fragment__caption svg,
.is-focused .play-mark,
.is-focused .video-label {
  display: none;
}
.about-space {
  max-width: 700px;
  margin: 50px auto 100px;
  padding: 30px;
}
.about-space h2 {
  font: 400 42px/1.1 var(--serif);
}
.about-space p {
  font: 14px/1.9 var(--sans);
  color: var(--muted);
}
@media (max-width: 760px) {
  .is-focused .fragment__body,
  .is-focused.fragment--image .fragment__body,
  .is-focused.fragment--video .fragment__body,
  .is-focused.fragment--paper .fragment__body {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 32px);
    padding: 12px;
  }
  .is-focused .fragment__text {
    font-size: 34px;
  }
  .is-focused.fragment--paper .fragment__open {
    padding: 28px 22px;
  }
  .is-focused.fragment--paper .fragment__text {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .focus-open .fragment:not(.is-focused) .fragment__body {
    filter: none !important;
  }
  .focus-open .introduction,
  .focus-open .site-header {
    filter: none;
  }
}

/* Four-column collection with original photographic proportions. */
.fragment--original .fragment__visual img,
.fragment--original .fragment__open:hover .fragment__visual img {
  transform: none;
}
.fragment__title {
  font: 400 29px/1.15 var(--serif);
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.fragment--prose .fragment__text {
  font: 400 20px/1.5 var(--serif);
  letter-spacing: 0;
}
.is-focused.fragment--prose .fragment__title {
  font-size: clamp(32px, 4vw, 48px);
}
.is-focused.fragment--prose .fragment__text {
  font: 400 clamp(23px, 2.2vw, 29px)/1.5 var(--serif);
  letter-spacing: 0;
}
@media (min-width: 1300px) {
  .flow { max-width: 1800px; padding-inline: 5vw; }
  .fragment__text { font-size: clamp(26px, 2.1vw, 35px); }
  .fragment--paper .fragment__open { padding: 28px 23px; }
  .fragment--paper .fragment__text { font-size: clamp(25px, 1.9vw, 31px); }
  .fragment--prose .fragment__text { font-size: 20px; }
  .is-focused .fragment__text { font-size: clamp(34px, 4.5vw, 64px); }
  .is-focused.fragment--paper .fragment__text { font-size: clamp(30px, 3.8vw, 47px); }
  .is-focused.fragment--prose .fragment__text { font-size: 29px; }
}
@media (max-width: 760px) {
  .fragment--opening .fragment__text { font-size: 34px; }
}

/* Recorded sound is another suspended piece, drawn from the real waveform. */
.sound-label {
  display: block;
  color: var(--muted);
  font: 9px/1.6 var(--sans);
  letter-spacing: .14em;
}
.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100px;
  margin: 30px 0;
}
.sound-wave span {
  flex: 1;
  min-width: 1px;
  height: var(--height);
  border-radius: 2px;
  background: #6d929f;
  transition: background .4s ease, box-shadow .4s ease;
}
.sound-wave .is-played {
  background: var(--ice);
  box-shadow: 0 0 10px #a9d9e855;
}
.fragment--audio .fragment__text {
  font-style: italic;
}
.sound-player { display: none; }
.is-focused .sound-player {
  display: block;
  width: 100%;
  margin-top: 35px;
  color-scheme: dark;
}
.is-focused .sound-wave { height: 150px; margin-block: 45px; }
.is-focused .sound-label { font-size: 10px; }
.is-playing .sound-label { color: var(--ice); }
.piece-actions button:focus-visible {
  outline: none;
  color: #fff;
  filter: drop-shadow(0 0 5px #a9d9e888);
}
.piece-actions .copy-piece:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.piece-actions .close-piece:focus-visible { background: #daf0ff12; border-radius: 50%; }
/* The waveform is the player. No browser transport bar. */
.sound-player, .is-focused .sound-player { display: none; }
.sound-actions { display: none; }
.is-focused .sound-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  color: var(--muted);
}
.sound-time { font: 10px/1.6 var(--sans); font-variant-numeric: tabular-nums; }
.is-focused .sound-wave { cursor: pointer; touch-action: manipulation; }
.sound-wave:focus-visible { outline: none; filter: drop-shadow(0 0 6px #a9d9e855); }
.sound-toggle:focus-visible { outline: none; text-decoration: underline; text-underline-offset: 5px; }

/* Keep short verse lines intact at both feed and focused widths. */
.fragment__open--intact-lines { container-type: inline-size; }
.fragment .fragment__open--intact-lines .fragment__text {
  font-size: min(64px, 8cqw);
  white-space: pre;
  text-wrap: nowrap;
  line-height: 1.5;
}
