@charset "UTF-8";
/* Design tokens */
:root {
  --paper: #fff;
  --ink: #151515;
  --red: #c22a26;
  --muted: #65615e;
  --line: #dedbd8;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 0.68, 0, 1.01);
}

/* Base elements and accessibility */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 5px;
}

a,
button {
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 20px;
  background: var(--ink);
  color: #fff;
  padding: 10px 20px;
  z-index: 99;
}

.skip-link:focus {
  top: 10px;
}

.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;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1440px;
  padding: 19px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand > img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.6px;
}

.brand-name small {
  display: block;
  font: 8px var(--sans);
  letter-spacing: 2.3px;
  margin-top: 2px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
}

.desktop-nav > a {
  position: relative;
  white-space: nowrap;
  padding: 7px 0;
}

.desktop-nav > a:not(.nav-reader):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s;
}

.desktop-nav > a:hover:after,
.desktop-nav > a[aria-current]:after {
  width: 100%;
}

.desktop-nav > a[aria-current] {
  color: var(--red);
}

.nav-reader {
  border: 1px solid var(--ink);
  padding: 8px 15px !important;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-reader:hover {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.mobile-nav {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  padding: 8px;
}

.mobile-nav a[aria-current] {
  color: var(--red);
}

/* Shared layout, type and controls */
.wrap {
  max-width: 1264px;
  padding: 0 48px;
  margin: auto;
}

.eyebrow,
.folio,
.section-no,
.meta,
.micro {
  font: 10px/1.6 var(--sans);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow:before {
  content: '';
  width: 25px;
  height: 1px;
  background: currentColor;
}

.folio {
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 34px;
  letter-spacing: -0.8px;
}

h3 {
  font-size: 25px;
  letter-spacing: -0.35px;
}

p {
  margin: 0 0 1.2em;
}

.red {
  color: var(--red);
}

.text-link {
  display: inline-flex;
  gap: 23px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  padding: 5px 0;
}

.text-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.text-link:hover .arrow,
.button:hover .arrow {
  transform: translate(4px, -2px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 47px;
  padding: 11px 20px;
  font-size: 12px;
  border: 1px solid var(--ink);
  background: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}

.button:hover {
  background: var(--ink);
  color: #fff;
}

.button.red-button {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.button.red-button:hover {
  background: #9e211d;
}

.button.secondary {
  border-color: var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}

/* Home hero and orbital artwork */
.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 65px;
}

.hero:before {
  content: '01 / A SPACE TO BECOME';
  position: absolute;
  left: 48px;
  top: 30px;
  color: var(--muted);
  font: 9px var(--sans);
  letter-spacing: 1.8px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

.hero-wordmark {
  width: 355px;
  display: block;
  margin: 27px 0 34px;
}

.hero h1 {
  font-size: 39px;
  max-width: 400px;
  color: var(--red);
  line-height: 1.23;
  margin-bottom: 24px;
}

.hero h1 em {
  font-weight: 400;
}

.hero-copy > p {
  max-width: 320px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.hero .actions {
  margin-top: 32px;
}

.hero .signature-inline {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font: 12px var(--serif);
}

.signature-inline img {
  width: 43px;
  height: 43px;
}

.hero-art {
  position: relative;
  min-width: 0;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-art .meditator {
  position: relative;
  width: 87%;
  mix-blend-mode: multiply;
  transform: translate(calc(var(--mx, 0) * 6px), calc(var(--my, 0) * 5px));
  transition: transform 0.7s var(--ease);
  z-index: -1;
}

.orbit {
  position: absolute;
  inset: 1%;
  border: 1px solid rgba(194, 42, 38, 0.22);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-25deg);
}

.orbit:before {
  content: '';
  position: absolute;
  inset: 7%;
  border: 1px dashed rgba(20, 20, 20, 0.14);
  border-radius: 50%;
  animation: orbit 150s linear infinite;
}

.orbit:after {
  content: '';
  position: absolute;
  inset: -5%;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 50%;
  transform: scaleY(0.65) rotate(55deg);
}

.orbit-line {
  position: absolute;
  top: 48%;
  left: -7%;
  width: 112%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 42, 38, 0.3), transparent);
  transform: rotate(-18deg);
  pointer-events: none;
}

.orbit-marker {
  position: absolute;
  top: 4%;
  left: 40%;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px #fff,
    0 0 0 7px rgba(194, 42, 38, 0.15);
}

.art-label {
  position: absolute;
  font: 9px var(--sans);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  padding: 9px 12px;
  border: 1px solid var(--line);
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.3s;
}

.art-label:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.art-label.label-a {
  top: 12%;
  right: 0;
}

.art-label.label-b {
  bottom: 21%;
  left: -4%;
}

.art-label.label-c {
  bottom: 5%;
  right: 12%;
}

.art-coordinate {
  position: absolute;
  top: 0;
  right: 2%;
  font: 9px var(--sans);
  color: var(--muted);
  letter-spacing: 1.5px;
}

.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  font: 9px var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: var(--muted);
}

.hero-bottom a {
  display: flex;
  gap: 13px;
  align-items: center;
}

.hero-bottom a:before {
  content: '';
  height: 25px;
  width: 1px;
  background: var(--red);
}

/* Editorial bands, article cards and section layouts */
.editorial-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 21px;
  padding-bottom: 21px;
}

.editorial-band .eyebrow {
  white-space: nowrap;
}

.editorial-band > p {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  flex: 1;
}

.editorial-band .text-link {
  white-space: nowrap;
}

.section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin: 9px 0 0;
}

.section-head > div {
  max-width: 650px;
}

.section-no {
  color: var(--red);
}

.section-description {
  color: var(--muted);
  max-width: 470px;
  margin-top: 17px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

.article-card {
  min-width: 0;
  position: relative;
}

.card-art {
  position: relative;
  aspect-ratio: 1.25/1;
  display: block;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .card-art img {
  transform: scale(1.045);
}

.card-art .card-arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.3s,
    background 0.3s;
}

.article-card:hover .card-arrow {
  transform: rotate(-45deg);
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.article-card .meta {
  font-size: 9px;
  letter-spacing: 0.9px;
  color: var(--muted);
  margin: 20px 0 11px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-card h3 {
  font-size: 25px;
  margin-bottom: 13px;
}

.article-card h3 a:hover {
  color: var(--red);
}

.article-card .excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-number {
  position: absolute;
  top: 14px;
  left: 0;
  font: 10px var(--sans);
  color: var(--red);
}

/* Fragments */
.fragment-section {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}

.fragment-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.fragment-intro > p {
  color: var(--muted);
  max-width: 260px;
  font-size: 14px;
}

.small-orbit-art {
  width: 180px;
  margin: 50px 0 0;
  opacity: 0.85;
}

.fragment {
  position: relative;
  border-top: 1px solid var(--ink);
  padding: 27px 0 35px;
}

.fragment:first-child {
  border-top: 0;
  padding-top: 0;
}

.fragment h2,
.fragment h3 {
  font-size: 26px;
  color: var(--red);
  margin: 16px 0 20px;
}

.fragment .meta {
  font-size: 9px;
  color: var(--muted);
}

.fragment-body {
  font: 17px/1.85 var(--serif);
}

.fragment-body p:last-child {
  margin-bottom: 0;
}

.fragment-body a {
  border-bottom: 1px solid var(--line);
}

.fragment-body blockquote {
  margin: 1.5em 0;
  padding-left: 22px;
  border-left: 1px solid var(--red);
}

.fragment-permalink {
  font: 10px var(--sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  margin-top: 25px;
  color: var(--muted);
}

.fragment-permalink:hover {
  color: var(--red);
}

.fragment-body img {
  max-height: 320px;
  object-fit: contain;
}

.fragment-body iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

/* Book feature and closing note */
.book-feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 70px;
  padding: 65px 6%;
}

.book-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1000px;
  min-height: 385px;
}

.book-stage:before,
.book-stage:after {
  content: '';
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 350px;
  height: 350px;
  transform: rotateX(60deg);
  bottom: 0;
}

.book-stage:after {
  width: 390px;
  height: 390px;
  border-style: dashed;
  opacity: 0.6;
  bottom: -20px;
}

.book-cover {
  width: 222px;
  position: relative;
  box-shadow:
    7px 10px 0 -5px #e9e6df,
    8px 10px 0 -4px #c9c3b8,
    20px 30px 45px rgba(0, 0, 0, 0.13);
  transform: rotateY(-12deg) rotateZ(-3deg);
  transition: transform 0.6s;
  z-index: 1;
}

.book-stage:hover .book-cover {
  transform: rotateY(0) rotateZ(0) translateY(-8px);
}

.book-feature h2 {
  font-size: 36px;
  margin: 18px 0;
}

.book-feature .book-description {
  font: 19px/1.75 var(--serif);
  max-width: 420px;
}

.book-feature .micro {
  color: var(--muted);
  margin: 23px 0;
}

.book-feature .actions {
  margin-top: 28px;
}

.closing-note {
  padding: 70px 20px;
  text-align: center;
}

.closing-note p {
  font: italic 23px/1.5 var(--serif);
  max-width: 550px;
  margin: 0 auto 22px;
}

.closing-note img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Page headings, archives and fragment feed */
.page-heading {
  padding: 65px 0 45px;
  max-width: 760px;
}

.page-heading h1 {
  color: var(--red);
  margin: 19px 0;
}

.page-heading p {
  max-width: 550px;
  color: var(--muted);
  font: 17px/1.8 var(--serif);
}

.archive-tools {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 40px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 340px;
}

.search-field input {
  border: 0;
  outline-offset: 6px;
  background: transparent;
  width: 100%;
  font-size: 13px;
  padding: 7px 2px;
}

.search-field span {
  font-size: 22px;
  color: var(--red);
}

.archive-count {
  font: 10px var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.empty-state {
  padding: 30px 0;
  color: var(--muted);
}

.article-archive {
  padding-bottom: 100px;
}

.load-more-wrap {
  text-align: center;
  margin-top: 45px;
}

.fragments-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 90px;
  padding: 15px 0 80px;
}

.fragments-side {
  position: sticky;
  top: 115px;
  align-self: start;
  font-size: 13px;
  color: var(--muted);
}

.fragments-side .micro {
  color: var(--red);
}

.fragments-side p {
  max-width: 215px;
}

.fragments-side img {
  width: 175px;
  margin-top: 35px;
}

.fragments-feed {
  max-width: 680px;
}

.fragments-feed .fragment {
  padding: 34px 0 45px;
}

/* Article reading layout and related content */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--red);
  z-index: 60;
}

.article-hero {
  min-height: 670px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.article-backdrop {
  position: fixed;
  top: 100px;
  right: var(--art-right, 6%);
  width: 60vw;
  max-width: 800px;
  height: 70vh;
  z-index: -1;
  object-fit: contain;
  opacity: 0.82;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.article-hero .wrap {
  width: 100%;
  z-index: 1;
}

.article-title-block {
  max-width: 590px;
  margin-top: 40px;
}

.article-title-block h1 {
  font-size: 43px;
  line-height: 1.18;
  color: var(--red);
  text-wrap: balance;
  background: transparent;
  padding: 20px 20px 20px 0;
  margin: 15px 0;
}

.article-title-block .meta {
  color: var(--muted);
  margin-top: 20px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  background: transparent;
  width: fit-content;
}

.article-hero .read-cue {
  margin-top: 50px;
  font: 10px var(--sans);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  gap: 25px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 12px;
}

.article-surface {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: auto;
  margin: 0 4%;
  padding: 70px 35px 50px;
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.025);
}

.article-body {
  max-width: 690px;
  margin: auto;
  font: 18px/1.9 var(--serif);
  overflow-wrap: break-word;
}

.article-body p {
  margin-bottom: 1.3em;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--red);
  margin: 2em 0 1em;
  line-height: 1.3;
}

.article-body h2 {
  font-size: 29px;
}

.article-body h3 {
  font-size: 25px;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body img {
  display: block;
  margin: 35px auto;
  max-height: 650px;
  object-fit: contain;
}

.article-body blockquote {
  border-left: 2px solid var(--red);
  margin: 2em 0;
  padding: 0 0 0 25px;
  font-size: 22px;
  line-height: 1.6;
}

.article-body iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}

.article-body table {
  display: block;
  overflow: auto;
  max-width: 100%;
  border-collapse: collapse;
}

.article-body td,
.article-body th {
  padding: 10px;
  border: 1px solid var(--line);
}

.article-body ul,
.article-body ol {
  padding-left: 25px;
}

.article-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 55px auto;
}

.article-signature img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.article-end {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  max-width: 690px;
  margin: auto;
}

.related-articles {
  background: #fff;
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* About, support and general content */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 10px 0 90px;
}

.portrait-frame {
  position: sticky;
  top: 110px;
  align-self: start;
}

.portrait-frame img {
  width: 100%;
  display: block;
  filter: grayscale(1);
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 15px;
  font: 9px var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.personal-body {
  font: 18px/1.85 var(--serif);
}

.personal-body h2,
.personal-body h3 {
  color: var(--red);
  font-size: 27px;
  margin: 1.8em 0 1em;
}

.personal-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.personal-body img {
  max-height: 440px;
  object-fit: contain;
}

.personal-body blockquote {
  margin: 2em 0;
  padding-left: 22px;
  border-left: 1px solid var(--red);
}

.personal-body iframe {
  max-width: 100%;
  aspect-ratio: 16/9;
}

.personal-body table {
  max-width: 100%;
  display: block;
  overflow: auto;
}

.personal-body td {
  padding: 10px;
}

.simple-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  padding-bottom: 90px;
}

.simple-art {
  max-width: 370px;
  align-self: start;
  position: sticky;
  top: 120px;
}

.link-grid {
  display: grid;
  gap: 10px;
  margin: 25px 0;
}

.external-link {
  border-top: 1px solid var(--line);
  padding: 21px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.external-link:hover {
  color: var(--red);
}

.external-link:last-child {
  border-bottom: 1px solid var(--line);
}

.external-link span:first-child {
  font: 23px var(--serif);
}

.support-seal {
  width: 125px;
  margin: 40px auto;
  display: block;
}

.local-note {
  padding: 18px 22px;
  border-left: 2px solid var(--red);
  font: 13px/1.8 var(--sans);
  margin: 30px 0;
}

.plain-content {
  max-width: 760px;
  padding-bottom: 80px;
}

/* Downloads */
.download-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}

.download-intro .page-heading {
  padding-bottom: 10px;
}

.download-intro .book-stage {
  min-height: 330px;
}

.download-intro .book-cover {
  width: 170px;
}

.download-intro .book-stage:before {
  width: 270px;
  height: 270px;
}

.download-intro .book-stage:after {
  width: 305px;
  height: 305px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  margin: 35px 0 50px;
}

.format-picker {
  border: 1px solid var(--line);
  background: #fff;
}

.format-picker[open] {
  border-color: var(--red);
}

.format-picker summary {
  list-style: none;
  cursor: pointer;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.format-picker summary::-webkit-details-marker {
  display: none;
}

.format-picker summary .format-label {
  font: 30px var(--serif);
  color: var(--red);
  flex: 1;
}

.format-picker summary .format-chevron {
  font-size: 24px;
  transition: transform 0.2s;
}

.format-picker[open] summary .format-chevron {
  transform: rotate(45deg);
}

.format-picker summary small {
  flex-basis: 100%;
  color: var(--muted);
  font: 12px/1.8 var(--sans);
  margin-top: 7px;
}

.format-picker .format-content {
  padding: 0 28px 28px;
}

.format-content label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.format-content select {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 13px;
  border-radius: 0;
  margin-bottom: 12px;
}

.download-file {
  width: 100%;
  gap: 15px;
}

.download-size {
  margin: 9px 0 0;
  font-size: 10px;
  color: var(--muted);
}

.language-index {
  border-top: 1px solid var(--line);
  padding: 28px 0 70px;
}

.language-index h2 {
  font-size: 24px;
}

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.download-footnote {
  font: 15px/1.8 var(--serif);
  color: var(--muted);
  max-width: 760px;
}

/* Footer, motion and reader shell */
.site-footer {
  position: relative;
  z-index: 4;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-brand > img {
  width: 47px;
  height: 47px;
}

.footer-brand p {
  font: 20px/1.2 var(--serif);
  margin: 0 0 5px;
}

.footer-brand small {
  font-size: 10px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
}

.footer-quote {
  font: italic 16px/1.6 var(--serif);
  max-width: 230px;
  margin: 0;
  color: var(--muted);
}

.footer-bottom {
  padding-top: 17px;
  padding-bottom: 19px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.motion-toggle {
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 7px;
  color: var(--muted);
}

.motion-toggle:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--red);
}

.motion-toggle[aria-pressed='false']:before {
  background: var(--muted);
}

.back-top {
  font-size: 13px;
  color: var(--ink);
}

.reader-main {
  padding: 20px 0 35px;
}

.reader-page .site-header {
  position: relative;
}

.reader-page .footer-main {
  display: none;
}

.reader-page .footer-bottom {
  border-top: 0;
}

.reveal {
  transition:
    opacity 0.8s,
    transform 0.8s var(--ease);
}

.reveal.waiting {
  opacity: 0;
  transform: translateY(22px);
}

.no-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.no-motion .hero-art .meditator {
  transform: none !important;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

/* Wide-screen and tablet adjustments */
@media (min-width: 1450px) {
  .hero {
    min-height: 760px;
  }
  .hero-art {
    width: 620px;
  }
  .hero-copy {
    padding-top: 0;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    padding: 16px 28px;
  }
  .desktop-nav {
    gap: 16px;
  }
  .wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero:before,
  .hero-bottom {
    left: 30px;
  }
  .hero-bottom {
    right: 30px;
  }
  .hero {
    min-height: 640px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-wordmark {
    width: 300px;
  }
  .hero-art {
    transform: scale(1.04);
  }
  .fragment-section,
  .fragments-layout {
    gap: 45px;
  }
  .book-feature {
    gap: 40px;
  }
  .article-card h3 {
    font-size: 22px;
  }
  .about-layout,
  .simple-layout {
    gap: 45px;
  }
  .footer-main {
    grid-template-columns: 1.3fr 1fr;
  }
  .footer-quote {
    display: none;
  }
}

/* Small tablet adjustments */
@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-inner {
    padding: 12px 24px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
    gap: 0;
  }
  .hero-art {
    margin-left: -25px;
    transform: scale(1.16);
  }
  .hero h1 {
    font-size: 31px;
    max-width: 330px;
  }
  .hero-wordmark {
    width: 280px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 275px;
  }
  .hero .actions {
    gap: 17px;
  }
  .hero .actions .text-link {
    font-size: 11px;
    gap: 15px;
  }
  .art-label {
    font-size: 8px;
    padding: 6px;
  }
  .label-b {
    display: none;
  }
  .article-grid {
    gap: 30px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-articles .article-card:last-child {
    display: none;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .fragment-section {
    grid-template-columns: 1fr 1.3fr;
    gap: 35px;
  }
  .fragment-intro h2 {
    font-size: 29px;
  }
  .book-feature {
    padding: 45px 0;
    gap: 30px;
  }
  .book-cover {
    width: 190px;
  }
  .book-stage:before {
    width: 270px;
    height: 270px;
  }
  .book-stage:after {
    width: 300px;
    height: 300px;
  }
  .book-feature h2 {
    font-size: 30px;
  }
  .book-feature .book-description {
    font-size: 17px;
  }
  .book-feature .actions {
    gap: 17px;
  }
  .format-grid {
    gap: 12px;
  }
  .format-picker summary {
    padding: 20px;
  }
  .format-picker .format-content {
    padding: 0 20px 20px;
  }
  .format-picker summary .format-label {
    font-size: 27px;
  }
  .format-content select {
    font-size: 12px;
  }
  .download-file {
    padding: 10px 12px;
    font-size: 11px;
  }
  .about-layout {
    gap: 35px;
  }
  .personal-body {
    font-size: 17px;
  }
  .article-backdrop {
    width: 75vw;
    right: 0 !important;
  }
  .article-title-block {
    max-width: 520px;
  }
  .article-title-block h1 {
    font-size: 39px;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .wrap {
    padding-left: 23px;
    padding-right: 23px;
  }
  .header-inner {
    padding: 10px 22px;
  }
  .brand > img {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    font-size: 18px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: 64px;
    padding-bottom: 55px;
    overflow: hidden;
  }
  .hero:before {
    left: 23px;
    top: 25px;
    font-size: 8px;
  }
  .hero-copy {
    padding-top: 0;
    z-index: 2;
  }
  .hero-wordmark {
    width: 285px;
    margin: 15px 0 24px;
  }
  .hero h1 {
    max-width: 330px;
    font-size: 32px;
    margin-bottom: 18px;
  }
  .hero-copy > p {
    max-width: 330px;
    font-size: 14px;
  }
  .hero .actions {
    margin-top: 24px;
    gap: 20px;
  }
  .hero .signature-inline {
    display: none;
  }
  .hero-art {
    align-self: center;
    width: 85%;
    max-width: 420px;
    margin: 12px 0 -5px 30px;
    transform: none;
  }
  .art-coordinate {
    top: 4%;
    font-size: 8px;
  }
  .art-label {
    font-size: 8px;
  }
  .art-label.label-a {
    right: -4%;
    top: 17%;
  }
  .art-label.label-b {
    display: block;
    left: -13%;
    bottom: 25%;
  }
  .hero-bottom {
    left: 23px;
    right: 23px;
    bottom: 17px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-bottom span {
    max-width: 145px;
    text-align: right;
  }
  .editorial-band {
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .editorial-band .eyebrow {
    font-size: 9px;
    flex-basis: 100%;
  }
  .editorial-band > p {
    font-size: 16px;
    line-height: 1.6;
  }
  .editorial-band .text-link {
    font-size: 11px;
    gap: 13px;
  }
  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .section-head {
    margin-bottom: 25px;
    gap: 15px;
  }
  .section-head h2 {
    font-size: 30px;
  }
  .section-head .text-link {
    font-size: 10px;
    gap: 12px;
    white-space: nowrap;
  }
  .section-no {
    font-size: 9px;
  }
  .article-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-articles .article-card:last-child {
    display: block;
  }
  .card-art {
    aspect-ratio: 1.5/1;
  }
  .article-card h3 {
    font-size: 25px;
  }
  .article-card .meta {
    margin-top: 17px;
  }
  .fragment-section {
    display: block;
  }
  .fragment-intro {
    position: static;
    margin-bottom: 40px;
  }
  .fragment-intro > p {
    max-width: 330px;
  }
  .fragment-intro .small-orbit-art {
    display: none;
  }
  .fragment-intro .text-link {
    margin-top: 7px;
  }
  .fragment-body {
    font-size: 17px;
  }
  .fragment h3 {
    font-size: 25px;
  }
  .book-feature {
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding: 32px 0 40px;
  }
  .book-stage {
    min-height: 340px;
    width: 100%;
  }
  .book-cover {
    width: 185px;
  }
  .book-feature-copy {
    width: 100%;
  }
  .book-feature h2 {
    font-size: 32px;
  }
  .book-feature .micro {
    font-size: 9px;
  }
  .closing-note {
    padding: 50px 15px;
  }
  .closing-note p {
    font-size: 21px;
  }
  .page-heading {
    padding: 45px 0 30px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .page-heading p {
    font-size: 16px;
  }
  .archive-tools {
    gap: 12px;
    align-items: center;
  }
  .search-field {
    width: 70%;
  }
  .archive-count {
    font-size: 9px;
    letter-spacing: 0.5px;
  }
  .fragments-layout {
    display: block;
    padding-top: 0;
  }
  .fragments-side {
    position: static;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
    padding-bottom: 17px;
  }
  .fragments-side p {
    max-width: 100%;
    margin-bottom: 0;
  }
  .fragments-side img {
    display: none;
  }
  .fragments-side .micro {
    margin-bottom: 5px;
  }
  .fragments-feed .fragment {
    padding-bottom: 35px;
  }
  .about-layout,
  .simple-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 60px;
  }
  .portrait-frame,
  .simple-art {
    position: static;
    max-width: 100%;
  }
  .portrait-frame img {
    max-height: 380px;
    object-fit: cover;
  }
  .simple-art {
    max-width: 240px;
    align-self: center;
  }
  .about-layout .personal-body {
    font-size: 17px;
  }
  .article-hero {
    min-height: 580px;
  }
  .article-backdrop {
    top: 120px;
    width: 94vw;
    height: 55vh;
    right: -12% !important;
    opacity: 0.7;
  }
  .article-title-block {
    margin-top: 100px;
    max-width: 90%;
  }
  .article-title-block h1 {
    font-size: 35px;
    padding: 15px 10px 15px 0;
  }
  .article-title-block .meta {
    font-size: 9px;
    gap: 10px;
    letter-spacing: 0.8px;
  }
  .article-surface {
    margin: 0;
    padding: 40px 24px;
  }
  .article-body {
    font-size: 17px;
    line-height: 1.85;
  }
  .article-body blockquote {
    font-size: 21px;
    padding-left: 20px;
  }
  .article-body h2 {
    font-size: 27px;
  }
  .article-hero .read-cue {
    margin-top: 30px;
  }
  .article-end {
    font-size: 12px;
    flex-wrap: wrap;
  }
  .article-signature img {
    width: 66px;
    height: 66px;
  }
  .download-intro {
    display: block;
    margin-bottom: 10px;
  }
  .download-intro .book-stage {
    display: none;
  }
  .format-grid {
    grid-template-columns: 1fr;
    margin-top: 27px;
    gap: 15px;
  }
  .format-picker summary {
    padding: 23px;
  }
  .format-picker summary small {
    margin-top: 0;
  }
  .format-picker summary .format-label {
    font-size: 29px;
  }
  .format-picker .format-content {
    padding: 0 23px 23px;
  }
  .format-content select {
    font-size: 15px;
    padding: 12px;
  }
  .download-file {
    font-size: 13px;
    padding: 12px 18px;
  }
  .download-size {
    font-size: 11px;
  }
  .language-list {
    gap: 10px 18px;
  }
  .language-index {
    padding-bottom: 45px;
  }
  .footer-main {
    padding-top: 30px;
    padding-bottom: 30px;
    display: block;
  }
  .footer-links {
    margin-top: 25px;
    gap: 20px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 8px;
  }
  .footer-bottom .copyright {
    flex-basis: 100%;
  }
  .footer-brand > img {
    width: 40px;
    height: 40px;
  }
  .motion-toggle {
    padding-left: 0;
  }
  .reader-main {
    padding: 10px 0;
  }
  .reader-page .footer-bottom {
    display: none;
  }
}

/* Content-specific refinements */
.personal-body .button {
  text-decoration: none;
}

.personal-body .external-link {
  text-decoration: none;
}

.crypto-support {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
  padding: 16px 0;
  font: 13px var(--sans);
}

.crypto-support summary {
  cursor: pointer;
  padding: 8px 0;
}

.crypto-support p {
  margin: 22px 0;
}

.crypto-support code {
  display: block;
  overflow-wrap: anywhere;
  font: 12px/1.8 monospace;
  margin-top: 10px;
}

.article-body h5,
.article-body h6 {
  font: 24px/1.4 var(--serif);
  color: var(--red);
  margin: 2em 0 1em;
}

.personal-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}

/* Reduced motion and print */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.waiting {
    opacity: 1;
    transform: none;
  }
  .hero-art .meditator {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-backdrop,
  .read-cue,
  .article-progress,
  .article-end,
  .related-articles {
    display: none;
  }
  .article-hero {
    min-height: 0;
  }
  .article-surface {
    padding: 0;
    margin: 0;
    border: 0;
    backdrop-filter: none;
  }
  .article-title-block h1 {
    font-size: 30px;
  }
  .article-body {
    font-size: 12pt;
  }
  .article-body a {
    color: inherit;
  }
  .article-body img {
    max-height: 500px;
  }
  body {
    background: #fff;
    color: #000;
  }
  .reveal.waiting {
    opacity: 1;
    transform: none;
  }
}

/* Keep the orbital artwork inside its own white canvas. */
.hero {
  overflow: clip;
}

.fragment-body > p:first-child {
  margin-top: 20px;
}

.fragment-opening {
  font-size: 22px;
  line-height: 1.55;
  color: var(--red);
}

@media (max-width: 800px) {
  .book-stage {
    overflow-x: clip;
    overflow-y: visible;
  }
}

/* The About portrait occupies one viewport and stays in its original column. */
@media screen {
  .about-layout .portrait-frame {
    position: sticky;
    top: 0;
    width: 100%;
  }
  .about-layout .portrait-frame img {
    height: 100vh;
    height: 100dvh;
    max-height: none;
    object-fit: cover;
  }
}

@media screen and (max-width: 600px) {
  .about-layout .personal-body {
    position: relative;
    z-index: 1;
    background: #fff;
  }
}

/* Reviewed ink artwork and the owner-selected additions use Multiply blending. */
.article-body img.ink-art,
.article-backdrop.ink-art {
  mix-blend-mode: multiply;
}

/* Request a separate image layer on touch WebKit. Keep the glass and all image
   ancestors untransformed so Multiply can still reach the blurred backdrop.
   This targets the iOS compositing issue; it does not animate or move the art. */
@supports (-webkit-touch-callout: none) {
  @media screen and (pointer: coarse) {
    .article-body img.ink-art {
      transform: translateZ(0);
    }
  }
}

/* Keep the glass behind the artwork so its white pixels can blend with the blurred scene. */
.article-surface::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(23px);
  -webkit-backdrop-filter: blur(23px);
  pointer-events: none;
}

@media print {
  .article-surface::before {
    display: none;
  }
}

/* The existing ink images form the edges of the night passage; only the middle is black. */
.article-body .night-section {
  margin: 35px 0;
  display: flow-root;
}

.article-body .night-section > img,
.article-body .night-content > img {
  width: 100%;
  max-height: none;
  margin: 0;
  display: block;
}

.article-body .night-content {
  background: #000;
  color: #fff;
  display: flow-root;
  margin: -1px 0;
}

.article-body .night-prose {
  padding: 32px clamp(20px, 4vw, 38px);
  color: #fff;
}

.article-body .night-prose > p:first-child {
  margin-top: 0;
}

.article-body .night-prose > p:last-child {
  margin-bottom: 0;
}
