In a distant sector of the galaxy, the Iskat Empire governs seven planets bound together by marriage treaties and a broader agreement with the Resolution, a galactic governing body that controls the link network connecting star systems. When this agreement comes up for renewal every 20 years, an Auditor arrives to verify all legalities. If even one marriage treaty linking a vassal planet to Iskat is broken, the entire agreement could collapse, leaving the sector vulnerable to invasion.
Prince Kiem, a minor royal known more for tabloid scandals than political acumen, is summoned by the Emperor and ordered to marry Count Jainan nav Adessari of Feria, the Thean treaty representative whose partner, Prince Taam, recently died in the crash of a flybug, a small personal aircraft. Thea is the Empire's smallest vassal planet, and tensions have risen over Iskat's mining operations there. Kiem protests the rushed timeline, but the Emperor insists: The Auditor's inspection is weeks away, and the broken marriage link must be repaired before Unification Day. Jainan has already agreed out of duty.
The wedding is awkward. Jainan spills ink across the contracts, and their first kiss is stilted. On their wedding night, Jainan initiates intimacy out of obligation, but Kiem senses Jainan is forcing himself and pulls away. Both are devastated, each believing the other wants nothing to do with them.
A fragile routine develops. Kiem's aide, Bel Siara, from the planet Sefala, discovers that Jainan's digital accounts were linked as a subsidiary to Taam's now-deactivated account, meaning Jainan had no independent communications for years. At the Imperial College, Jainan meets Professor Audel, an engineering expert who recognizes his academic work and invites him to consult on her project. When Kiem and Jainan meet the Auditor for official confirmation as treaty representatives, he refuses to grant them instation, the certification required to serve in that role, revealing that his data suggests Taam was murdered. Kiem uses his royal seal to demand Internal Security release Taam's crash data.
Jainan, an engineer by training, realizes the flight logs are fabricated: They replicate a textbook example of compressor failure with uniformly offset time stamps. Jainan reveals that his security clearance was revoked two years earlier and he was discouraged from contacting anyone. Kiem confronts Chief Agent Rakal at Internal Security, who reveals Jainan is a suspect in Taam's death. Kiem threatens to leak stories about Jainan's mistreatment unless Rakal reinstates his clearance, and Rakal reluctantly agrees. That evening, Jainan calls his sister, Lady Ressid, for the first time in years.
The investigation deepens when Jainan uncovers massive financial discrepancies in Operation Kingfisher, an Iskat military mining venture that Taam once commanded. He cracks Taam's passphrase and finds encrypted messages on his own wristband routed through anonymous relays that Bel identifies as black-market drops used by Sefalan raiders. Taam was embezzling from Kingfisher and selling equipment to raiders, using Jainan's device to make Jainan look complicit. Jainan tells Kiem everything, and Kiem proposes visiting Hvaren Base, where Major Aren Saffer, Taam's former deputy, is stationed, to access operational records.
During the flight, Kiem and Jainan talk openly about their pasts for the first time. At the base, Aren gives them full access. Jainan confirms the embezzlement, and the systems team traces network intrusions to Imperial College accounts linked to Audel. Internal Security invokes an Imperial Voice command, an order backed by the Emperor's authority, demanding their immediate return. On the flight back, the flybug's compressor explodes, the same failure that killed Taam, and they crash into a mountainside.
Both survive with injuries but are stranded in a signal dead zone. They trek toward a rail line. When a bear attacks, Jainan fights it off while Kiem falls through river ice. Jainan pulls him out and shares body warmth through the night. The next morning, Jainan asks if there is anything he can do to make himself "less repellent" to Kiem. Kiem tells Jainan he is beautiful, that he has been holding back because he believed Jainan was grieving. They make love in the tent and spot the rail line at dawn.
After the rescue, Rakal clears Jainan as a suspect and enlists him to give Audel a honeypot access credential for the Kingfisher refinery. Kiem and Jainan travel to Carissi Station, a space habitat orbiting Thea, for the Unification Day ceremonies. The Auditor delivers devastating news: 14 of the submitted remnants, treaty-regulated artifacts that planets must surrender during renewal, are fakes. He revokes every Iskat representative's instation status.
Kiem visits Audel and her Thean student Gairad and discovers that Gairad, not Audel, was behind the network intrusions. A fellow Thean student died in a Kingfisher explosion, driving Gairad to uncover what the operation is really doing. Using Kiem's account, they hack into the files of General Fenrik, the Empire's supreme military commander, and find a security camera video of Taam shoving Jainan against a wall and striking him. Separately, Jainan visits the Auditor and learns that without Resolution protection, invasion could come within weeks. The Auditor offers Thea a separate treaty, but Jainan insists the whole sector must be included.
When Kiem confronts Jainan about the video, Jainan reacts with fury and shame. While alone afterward, soldiers arrest Jainan for Taam's murder. He wakes in a hidden warehouse inside the Kingfisher refinery, surrounded by weapons. Aren reveals the truth: Taam and Fenrik used Kingfisher to stockpile weapons for an unsanctioned invasion of Thea, planning to break with the Resolution. Aren killed Taam because Taam discovered Aren was skimming profits. Aren intends to use the Tau field, one of the stolen remnants repurposed as an interrogation device, to alter Jainan's memories and force a false confession.
Kiem organizes a rescue. Bel reveals she spent years as a systems breaker, a hacker who compromised shuttle communications for raiders; Aren had been blackmailing her with this secret. Kiem accepts her past and enlists her help. With Gairad, who tracked the military shuttle, they break into the refinery and find Jainan strapped into the Tau field. Kiem dons a second helmet and enters the simulation, witnessing memories of Taam degrading Jainan. The simulation dissolves into featureless gray where Jainan recites affirmations, convinced Kiem is a hallucination. Kiem tells Jainan the truth about his feelings. When a hallucination of Taam threatens Kiem, Jainan strikes it down and breaks free. In reality, they disarm Aren, and security forces arrive.
Jainan wakes three days later. Kiem is under arrest for breaking into a classified facility, having confessed to shield Bel and Gairad. Aren has leaked stories accusing Kiem of being violent toward Jainan. From his hospital bed, Jainan contacts journalist Hani Sereson and gives a tell-all interview, publicly detailing Taam's abuse, clearing Kiem's name, and praising Kiem as a hero. The interview runs with a photo of Jainan in his hospital gown, a deliberate vulnerability from someone who always maintained perfect composure.
Jainan meets with Ressid and the Thean delegation to draft a new agreement restructuring the Empire: equal trade, ambassadors to the Resolution for all planets, consensus requirements, and full military withdrawal from Thean space. The Emperor agrees to sign. At the press conference, when Ressid demands Jainan return to Thea, Jainan publicly declares his love for Kiem and kisses him on stage. The treaty is signed that evening. Jainan takes control of Kingfisher, now transferred to Thea, and Kiem accepts a diplomatic post. On a glass balcony under the stars, they share a quiet moment, certain of each other.