:root {
  --d97-abyss: #06131d;
  --d97-depth: #061d29;
  --d97-shelf: #0a3240;
  --d97-current: #0d4756;
  --d97-mint: #2ce1c4;
  --d97-sun: #ffcc68;
  --d97-coral: #ff6f61;
  --d97-foam: #eafaf4;
  --d97-muted: #9fc2c4;
  --d97-line: rgba(44, 225, 196, 0.28);
  --d97-display: "Bodoni 72", "STSong", "Songti SC", serif;
  --d97-body: "Avenir Next", "Hiragino Sans GB", "PingFang SC", sans-serif;
  --d97-code: "SFMono-Regular", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--d97-abyss);
}

body {
  margin: 0;
  color: var(--d97-foam);
  background:
    radial-gradient(circle at 85% 12%, rgba(44, 225, 196, 0.13), transparent 24rem),
    linear-gradient(180deg, var(--d97-depth), var(--d97-abyss) 62%);
  font-family: var(--d97-body);
  line-height: 1.65;
  min-width: 300px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
.d_97action,
.d_97chip,
.d_97tab {
  min-height: 42px;
  min-width: 42px;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.d_97mast {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 70px;
  padding: 0 4vw;
  background: rgba(6, 19, 29, 0.94);
  border-bottom: 1px solid var(--d97-line);
  backdrop-filter: blur(14px);
}

.d_97brand {
  display: flex;
  align-items: center;
  min-height: 24px;
  font-family: var(--d97-code);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.d_97routes {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 2rem);
  font-size: 0.88rem;
  font-weight: 700;
}

.d_97routes a {
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
}

.d_97routes a:hover,
.d_97routes a:focus-visible {
  border-color: var(--d97-mint);
}

.d_97save {
  border: 1px solid var(--d97-sun);
  color: var(--d97-abyss);
  background: var(--d97-sun);
  padding: 0.55rem 1rem;
  font-weight: 800;
}

.d_97save[aria-pressed="true"] {
  color: var(--d97-foam);
  background: var(--d97-current);
}

.d_97hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: calc(100vh - 70px);
  border-bottom: 1px solid var(--d97-line);
}

.d_97signal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 8vw, 9rem) clamp(1rem, 7vw, 8rem);
  background:
    repeating-linear-gradient(0deg, transparent 0 49px, rgba(44, 225, 196, 0.05) 49px 50px),
    var(--d97-abyss);
}

.d_97eyebrow {
  margin: 0 0 1rem;
  color: var(--d97-mint);
  font-family: var(--d97-code);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 0.98;
}

h1 {
  margin-bottom: 1.6rem;
  font-family: var(--d97-display);
  font-size: clamp(3.4rem, 8vw, 8.7rem);
  letter-spacing: -0.075em;
  max-width: 7ch;
}

h1 span {
  color: var(--d97-sun);
}

.d_97lead {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: var(--d97-muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.d_97actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.d_97action,
.d_97chip,
.d_97tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--d97-mint);
  padding: 0.65rem 1rem;
  color: var(--d97-foam);
  background: transparent;
  font-weight: 800;
}

.d_97action:hover,
.d_97action:focus-visible,
.d_97chip:hover,
.d_97chip:focus-visible,
.d_97tab:hover,
.d_97tab:focus-visible,
.d_97chip[aria-pressed="true"],
.d_97tab[aria-selected="true"] {
  color: var(--d97-abyss);
  background: var(--d97-mint);
}

.d_97scope {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: var(--d97-current);
}

.d_97scope::before,
.d_97scope::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(234, 250, 244, 0.22);
}

.d_97scope::before {
  width: min(78%, 650px);
  aspect-ratio: 1;
}

.d_97scope::after {
  width: min(52%, 430px);
  aspect-ratio: 1;
}

.d_97beam {
  position: absolute;
  z-index: 1;
  width: min(78%, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 210deg, transparent 0 78%, rgba(44, 225, 196, 0.42) 86%, transparent 94%);
  animation: d97_sweep 8s linear infinite;
}

@keyframes d97_sweep {
  to { transform: rotate(1turn); }
}

.d_97scope img {
  position: relative;
  z-index: 2;
  width: min(38%, 270px);
  aspect-ratio: 8 / 11;
  object-fit: cover;
  border: 8px solid var(--d97-foam);
  box-shadow: 24px 24px 0 rgba(6, 19, 29, 0.72);
}

.d_97scope figcaption {
  position: absolute;
  z-index: 3;
  right: 2rem;
  bottom: 2rem;
  padding: 0.6rem 0.8rem;
  color: var(--d97-abyss);
  background: var(--d97-sun);
  font-family: var(--d97-code);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.d_97shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.d_97sectionhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.d_97sectionhead h2,
.d_97routehead h1 {
  font-family: var(--d97-display);
}

.d_97sectionhead h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  letter-spacing: -0.055em;
}

.d_97sectionhead p {
  max-width: 31rem;
  margin: 0;
  color: var(--d97-muted);
}

.d_97readings {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  border-top: 1px solid var(--d97-line);
  border-left: 1px solid var(--d97-line);
}

.d_97readings div {
  min-height: 130px;
  padding: 1.2rem;
  border-right: 1px solid var(--d97-line);
  border-bottom: 1px solid var(--d97-line);
}

.d_97readings dt {
  color: var(--d97-muted);
  font-size: 0.78rem;
}

.d_97readings dd {
  margin: 0.45rem 0 0;
  color: var(--d97-sun);
  font-family: var(--d97-display);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
}

.d_97trenches {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.9fr;
  gap: 1rem;
}

.d_97dive {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 1rem;
  border: 1px solid var(--d97-line);
  background: rgba(10, 50, 64, 0.5);
}

.d_97dive:nth-child(2) {
  transform: translateY(3rem);
}

.d_97dive img {
  width: 100%;
  aspect-ratio: 8 / 11;
  object-fit: cover;
  object-position: top;
}

.d_97dive h3 {
  margin: 1.2rem 0 0.6rem;
  font-family: var(--d97-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.d_97dive p {
  color: var(--d97-muted);
}

.d_97dive .d_97action {
  margin-top: auto;
  align-self: flex-start;
}

.d_97echoes {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--d97-mint);
}

.d_97echoes li {
  position: relative;
  min-height: 190px;
  padding: 2rem 1rem 1rem;
  border-right: 1px solid var(--d97-line);
}

.d_97echoes li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 1rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--d97-coral);
}

.d_97echoes b {
  display: block;
  color: var(--d97-sun);
  font-family: var(--d97-code);
}

.d_97echoes span {
  color: var(--d97-muted);
  font-size: 0.86rem;
}

.d_97ledger {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  border: 1px solid var(--d97-line);
}

.d_97ledger > header {
  padding: 2rem;
  color: var(--d97-abyss);
  background: var(--d97-sun);
}

.d_97ledger h2 {
  font-family: var(--d97-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.d_97ledger ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.d_97ledger li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--d97-line);
}

.d_97ledger li:last-child {
  border-bottom: 0;
}

.d_97ledger em {
  color: var(--d97-mint);
  font-family: var(--d97-code);
  font-style: normal;
}

.d_97chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.d_97routehead {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) 0 4rem;
  border-bottom: 1px solid var(--d97-line);
}

.d_97routehead h1 {
  margin: 0 0 1.5rem;
  max-width: 9ch;
  font-size: clamp(3.2rem, 7vw, 7.8rem);
}

.d_97routehead > p:last-child {
  max-width: 42rem;
  color: var(--d97-muted);
  font-size: 1.08rem;
}

.d_97catalog {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
}

.d_97filters {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 0.65rem;
}

.d_97filters .d_97chip {
  width: 100%;
  justify-content: flex-start;
}

.d_97archive {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.d_97archive > li {
  border: 1px solid var(--d97-line);
}

.d_97archive article {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}

.d_97archive img {
  width: 100%;
  aspect-ratio: 8 / 11;
  object-fit: cover;
  object-position: top;
}

.d_97archive h2 {
  margin: 0 0 0.7rem;
  font-family: var(--d97-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.d_97archive p {
  color: var(--d97-muted);
}

.d_97searchbox {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.d_97searchbox input {
  min-height: 54px;
  width: 100%;
  border: 1px solid var(--d97-mint);
  border-radius: 0;
  padding: 0 1rem;
  color: var(--d97-foam);
  background: var(--d97-abyss);
}

.d_97results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.d_97result {
  padding: 1rem;
  border: 1px solid var(--d97-line);
  background: rgba(10, 50, 64, 0.45);
}

.d_97result img {
  aspect-ratio: 8 / 11;
  object-fit: cover;
  object-position: top;
}

.d_97result h2 {
  margin: 1rem 0 0.5rem;
  font-family: var(--d97-display);
  font-size: 2rem;
}

.d_97reader {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.d_97readerbar {
  position: sticky;
  top: 70px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  background: rgba(6, 19, 29, 0.95);
  border: 1px solid var(--d97-line);
}

.d_97tabs,
.d_97readerops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.d_97readerbar label {
  display: grid;
  gap: 0.25rem;
  min-width: 150px;
  color: var(--d97-muted);
  font-size: 0.75rem;
}

.d_97readerbar input[type="range"] {
  width: 100%;
  min-height: 24px;
}

.d_97stage {
  width: min(760px, 100%);
  margin: 2rem auto 0;
  transition: width 0.25s ease, filter 0.25s ease;
}

.d_97stage[data-d97-zoom-state="wide"] {
  width: min(1040px, 100%);
}

.d_97stage[data-d97-glow-state="true"] {
  filter: saturate(1.22) contrast(1.08) drop-shadow(0 0 26px rgba(44, 225, 196, 0.24));
}

.d_97stage img {
  width: 100%;
  border: 1px solid var(--d97-line);
}

.d_97readerfoot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.4rem auto 0;
  width: min(760px, 100%);
}

.d_97faq {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 3rem;
}

.d_97faq aside {
  color: var(--d97-muted);
}

.d_97faq details {
  border-top: 1px solid var(--d97-line);
}

.d_97faq details:last-child {
  border-bottom: 1px solid var(--d97-line);
}

.d_97faq summary {
  padding: 1.2rem 0;
  cursor: pointer;
  font-weight: 800;
}

.d_97faq details p {
  padding: 0 0 1.2rem;
  color: var(--d97-muted);
}

.d_97aboutgrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.d_97aboutgrid article,
.d_97aboutgrid aside {
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--d97-line);
}

.d_97aboutgrid h2 {
  font-family: var(--d97-display);
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.d_97map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.d_97map a {
  display: grid;
  min-height: 160px;
  align-content: space-between;
  padding: 1.3rem;
  border: 1px solid var(--d97-line);
  background: rgba(10, 50, 64, 0.35);
}

.d_97map b {
  color: var(--d97-sun);
  font-family: var(--d97-code);
}

.d_97lost {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 5vw;
}

.d_97lostscope {
  justify-self: center;
}

.d_97lost h1 {
  max-width: 9ch;
}

.d_97lostscope {
  width: min(420px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--d97-mint);
  background:
    radial-gradient(circle, var(--d97-coral) 0 8px, transparent 9px),
    repeating-radial-gradient(circle, transparent 0 70px, rgba(44,225,196,.25) 71px 72px),
    conic-gradient(from 220deg, transparent, rgba(44,225,196,.35), transparent 28%);
}

.d_97foot {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 4vw;
  color: var(--d97-muted);
  background: #031019;
  border-top: 4px solid var(--d97-coral);
}

.d_97foot h2,
.d_97foot h3 {
  color: var(--d97-foam);
  line-height: 1.25;
}

.d_97foot h2 {
  font-family: var(--d97-display);
  font-size: 2rem;
}

.d_97foot a {
  display: block;
  margin: 0.5rem 0;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .d_97mast {
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
  }

  .d_97routes {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .d_97routes a {
    white-space: nowrap;
  }

  .d_97hero,
  .d_97catalog,
  .d_97faq,
  .d_97aboutgrid,
  .d_97lost {
    grid-template-columns: 1fr;
  }

  .d_97hero {
    min-height: 0;
  }

  .d_97signal {
    min-height: 680px;
    padding: 5rem 1rem;
  }

  .d_97scope {
    min-height: 600px;
  }

  .d_97readings {
    grid-template-columns: repeat(2, 1fr);
  }

  .d_97readings div:last-child {
    grid-column: 1 / -1;
  }

  .d_97trenches,
  .d_97results {
    grid-template-columns: 1fr;
  }

  .d_97dive:nth-child(2) {
    transform: none;
  }

  .d_97echoes {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 2px solid var(--d97-mint);
  }

  .d_97echoes li {
    min-height: 100px;
    border-right: 0;
    border-bottom: 1px solid var(--d97-line);
  }

  .d_97echoes li::before {
    top: 2.1rem;
    left: -8px;
  }

  .d_97ledger,
  .d_97foot {
    grid-template-columns: 1fr 1fr;
  }

  .d_97filters {
    position: static;
    grid-template-columns: repeat(4, 1fr);
  }

  .d_97archive article {
    grid-template-columns: 140px 1fr;
  }

  .d_97archive article > .d_97action {
    grid-column: 2;
    justify-self: start;
  }

  .d_97readerbar {
    top: 114px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .d_97mast {
    min-height: 122px;
  }

  .d_97brand {
    font-size: 0.66rem;
  }

  .d_97save {
    padding-inline: 0.75rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.2rem);
  }

  .d_97sectionhead {
    display: block;
  }

  .d_97sectionhead p {
    margin-top: 1rem;
  }

  .d_97shell,
  .d_97routehead,
  .d_97reader {
    width: min(100% - 2rem, 1180px);
  }

  .d_97scope {
    min-height: 520px;
  }

  .d_97scope img {
    width: 52%;
  }

  .d_97readings {
    grid-template-columns: 1fr 1fr;
  }

  .d_97readings div {
    min-height: 110px;
  }

  .d_97dive {
    min-height: 0;
  }

  .d_97ledger,
  .d_97foot,
  .d_97map {
    grid-template-columns: 1fr;
  }

  .d_97ledger li {
    grid-template-columns: 2rem 1fr;
  }

  .d_97ledger li em {
    grid-column: 2;
  }

  .d_97filters {
    grid-template-columns: 1fr 1fr;
  }

  .d_97archive article {
    grid-template-columns: 1fr;
  }

  .d_97archive article > .d_97action {
    grid-column: 1;
  }

  .d_97searchbox {
    grid-template-columns: 1fr;
  }

  .d_97readerbar {
    top: 122px;
  }

  .d_97readerfoot {
    flex-direction: column;
  }
}

[data-wordmark]{white-space:nowrap!important;word-break:normal!important;writing-mode:horizontal-tb!important;min-width:max-content!important;width:auto!important}
[data-work-format]{display:inline-block;letter-spacing:.04em;line-height:1.5}
body:has(#works) h1 a{text-decoration:none!important;color:inherit;line-height:inherit}
@media(min-width:701px){body:has(#works) h1{font-size:clamp(2rem,3.4vw,3.25rem)!important;line-height:1.2!important;letter-spacing:-.025em;max-width:100%;height:auto!important}}
@media(max-width:700px){body>header:has([data-live-nav]),body>header :is(div,section):has(>[data-live-nav]){display:flex!important;flex-flow:row wrap!important;align-items:center!important;gap:.4rem!important;min-height:0!important;height:auto!important;padding-block:.4rem!important}body>header [data-live-nav]{flex:1 1 13rem!important;gap:.15rem!important;white-space:normal;line-height:1.2}body>header [data-live-nav] a{writing-mode:horizontal-tb!important;width:auto!important;height:auto!important;min-width:max-content!important;padding:.35rem .45rem!important}}
html{scroll-behavior:auto} *,*::before,*::after{box-sizing:border-box}
[data-page-body]{display:block!important;position:relative!important;visibility:visible!important;max-height:none!important;grid-column:1/-1;min-width:0;max-width:100%}
[data-page-body]>h1{position:static!important;transform:none!important;margin:0 0 1.25rem!important;line-height:1.18!important}
[data-page-body]:has(>details){display:flex!important;flex-direction:column;align-items:stretch;gap:.8rem;isolation:isolate;padding:1.25rem}
[data-page-body]>details{display:block!important;position:relative!important;inset:auto!important;transform:none!important;min-width:0;background:Canvas;color:CanvasText;padding:.65rem 1rem;border:1px solid #aaa;border-radius:.3rem;grid-column:1/-1}
[data-page-body]>details>summary{position:relative!important;display:list-item!important;cursor:pointer;min-height:2.6rem;padding:.5rem 0}
a,button,h1,h2,h3,p,figcaption{overflow-wrap:anywhere} img,video{max-width:100%}
[data-live-poster]{display:block;width:100%;height:100%;min-height:0;max-height:64vh;object-fit:cover}
a[data-card]{display:block;min-width:0;color:inherit;text-decoration:none}
[data-reader-list]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1.2rem;margin:1rem auto 3rem;padding:0 clamp(1rem,4vw,4rem);max-width:94rem;list-style:none}
[data-reader-list] a{display:block;color:inherit;padding:.5rem 0;text-underline-offset:.25em}
[data-reader-list] img{width:100%;max-height:14rem;object-fit:cover}
[data-live-nav] a{display:inline-block;padding:.4rem .65rem;color:inherit}
[data-live-nav]{display:flex;flex-wrap:wrap;align-items:center}
@media(max-width:700px){main,header,footer,section,article,aside,figure,nav{min-width:0;max-width:100%}h1{font-size:clamp(1.55rem,7vw,2.6rem)!important;line-height:1.2!important}h2{font-size:clamp(1.25rem,6vw,2rem)!important}h3{font-size:clamp(1rem,5vw,1.45rem)!important}}
