*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  background: var(--void);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: var(--cyan);
  color: var(--void);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.6rem 0.9rem;
  background: var(--cyan);
  color: var(--void);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip:focus,
.skip:focus-visible {
  top: 1rem;
}

#field,
.grain,
.binding {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#field {
  z-index: 0;
  width: 100%;
  height: 100%;
}

.grain {
  z-index: 1;
  opacity: 0.18;
  background-image: radial-gradient(rgba(232, 232, 232, 0.28) 0.45px, transparent 0.45px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.binding {
  z-index: 2;
  left: clamp(0.65rem, 2vw, 1.4rem);
  right: auto;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.7), transparent);
}

.site-header,
.page {
  position: relative;
  z-index: 3;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.85rem var(--gutter);
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.94), rgba(10, 10, 15, 0));
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--mist);
  text-decoration: none;
}

.brand__mark {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: transparent;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 0.86;
  letter-spacing: 0.045em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.7);
  color: var(--mist);
  font-family: var(--font-text);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(14rem, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3.5rem;
}

.hero__copy {
  max-width: 42rem;
}

.hero__lockup {
  margin: 0;
}

.hero__lockup img {
  width: min(100%, 26rem);
  height: auto;
  margin-inline: auto;
}

.eyebrow,
.chapter__index span:last-child,
.frame-kicker,
.ledger__row--head,
.meta-key {
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero h1,
.chapter h2,
.ledger__row h3,
.dispatch__mast {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.86;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.4vw, 5rem);
}

.hero h1 span {
  display: block;
}

.destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.lede {
  max-width: var(--measure);
  margin: 1.35rem 0 0;
  color: var(--mist);
  font-size: 1.05rem;
  font-weight: 300;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: baseline;
  margin-top: 2.4rem;
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__meta a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.45);
}

.hero__meta a:hover {
  border-bottom-color: var(--cyan);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(7.5rem, 14rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.chapter__index {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chapter__index span:first-child {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.8;
  color: rgba(232, 232, 232, 0.88);
}

.chapter h2,
.dispatch__mast {
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.prose {
  max-width: var(--measure);
}

.prose p,
.dispatch__copy p {
  margin: 0 0 1rem;
  font-weight: 300;
}

.byline {
  margin: 0.85rem 0 1.2rem;
  color: var(--steel);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 0.7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.split > * {
  min-width: 0;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.facts div {
  min-width: 0;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(26, 26, 46, 0.55);
}

.facts dt {
  margin: 0 0 0.35rem;
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.cover-plate {
  margin: 0;
  justify-self: end;
  width: min(100%, 22rem);
}

.cover-plate img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.pub-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.pub-card {
  display: grid;
  grid-template-columns: 8.75rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.pub-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.pub-card h3 {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 0.9;
}

.pub-card .eyebrow {
  margin-bottom: 0.35rem;
}

.pub-card .byline {
  margin: 0.55rem 0 0.4rem;
}

.pub-card p {
  max-width: var(--measure);
  margin: 0 0 0.8rem;
  font-weight: 300;
}

.pub-card__status {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.art-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 18rem;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 212, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(26, 26, 46, 0.3), rgba(10, 10, 15, 0.2)),
    var(--charcoal);
}

.art-frame--wide {
  aspect-ratio: 16 / 10;
  min-height: 14rem;
}

.art-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-frame.has-art .art-frame__type {
  opacity: 0;
}

.art-frame__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.5rem;
  text-align: center;
  transition: opacity 240ms ease;
}

.art-frame__type strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.04em;
}

.plate {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  max-width: 26rem;
  margin: 1.4rem 0 1.6rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(0, 212, 255, 0.45);
  background: rgba(26, 26, 46, 0.55);
}

.plate dt {
  margin: 0;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.plate dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--cyan);
  color: var(--mist);
  background: transparent;
  font-family: var(--font-text);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--cyan);
  color: var(--void);
}

.button--quiet {
  border-color: rgba(122, 156, 176, 0.7);
  color: var(--steel);
}

.button--quiet:hover,
.button--quiet:focus-visible {
  background: transparent;
  border-color: var(--cyan);
  color: var(--mist);
}

.ledger {
  margin-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(8rem, 0.9fr) minmax(7rem, 0.7fr) minmax(7rem, 0.7fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.ledger__row--head {
  padding-bottom: 0.7rem;
}

.ledger__row h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ledger__status.is-hiatus {
  color: var(--cyan);
}

.ledger__open {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.ledger__open:hover {
  color: var(--mist);
}

.dispatch {
  display: grid;
  gap: 1.5rem;
}

.dispatch__rule {
  width: 6rem;
  height: 1px;
  margin: 1rem 0 1.2rem;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.65);
}

.quiet {
  color: var(--steel);
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.site-footer p,
.footer-links {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--steel);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--cyan);
}

.colophon {
  color: var(--steel);
  font-size: 0.78rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .site-header {
    background: var(--void);
  }

  .site-nav {
    position: fixed;
    z-index: 20;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 2.5rem;
    background: var(--void);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--mist);
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }

  .hero,
  .chapter,
  .split {
    grid-template-columns: 1fr;
  }

  .pub-card {
    grid-template-columns: 6.75rem minmax(0, 1fr);
  }

  .hero__lockup img,
  .cover-plate {
    width: min(100%, 18rem);
    justify-self: start;
  }

  .chapter__index {
    flex-direction: row;
    align-items: baseline;
    gap: 0.9rem;
  }

  .ledger__row--head {
    display: none;
  }

  .ledger__row span[data-label]::before,
  .ledger__row h3[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    color: var(--steel);
    font-family: var(--font-text);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .binding {
    display: none;
  }

  .hero {
    align-items: center;
  }
}

@media (max-width: 520px) {
  .brand__name {
    font-size: 1.15rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
