/* Sector 7G // Astral archive — scholarly desk, not a wellness blog */
.astral-archive {
  --ink: #f3ead8;
  --dim: #c4b496;
  --gold: #d4a24a;
  --rule: rgba(201, 168, 72, 0.32);
}
.astral-archive .br-essay-copy {
  max-width: 44rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.astral-archive-hub .br-essay-copy {
  max-width: 56rem;
  display: block;
}
.astral-hero {
  position: relative;
  margin: 0 0 1.35rem;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #0a0705;
}
.astral-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 38%;
  max-height: min(28rem, 62vh);
}
.astral-hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4.2rem 1.15rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 6, 4, 0.55) 38%, rgba(8, 6, 4, 0.94) 100%);
}
.astral-hero-copy .br-kicker { margin: 0 0 0.35rem; }
.astral-hero-copy h1 {
  margin: 0 0 0.4rem;
  color: #f6ead0;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.astral-hero-lead {
  margin: 0 0 0.95rem;
  max-width: 34rem;
  color: #e8dcc4;
  font-size: 1.05rem;
  line-height: 1.45;
}
.astral-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.astral-hero-cta a {
  display: inline-flex;
  align-items: center;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(201, 168, 72, 0.45);
  color: #ead8b0;
  background: rgba(12, 10, 8, 0.55);
}
.astral-hero-cta a.astral-cta-gold {
  color: #1a1408;
  background: linear-gradient(180deg, #ffe08a, #c99228);
  border-color: transparent;
}
.astral-hero-cta a:hover { border-color: var(--gold); }
.astral-tonight {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.astral-tonight li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rule);
  background: rgba(12, 10, 8, 0.5);
}
.astral-tonight em {
  grid-row: 1 / span 2;
  font-style: normal;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  align-self: start;
  padding-top: 0.12rem;
}
.astral-tonight strong { color: #f0e4cc; }
.astral-tonight span { color: var(--dim); font-size: 0.95rem; }
.astral-tonight a { color: #e0c878; }
.astral-path {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 0 0 1.5rem;
}
.astral-path a {
  display: block;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  background: rgba(12, 10, 8, 0.45);
  min-height: 7.2rem;
}
.astral-path em {
  display: block;
  font-style: normal;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.astral-path strong { display: block; margin-bottom: 0.3rem; color: #f0e4cc; }
.astral-path span { color: var(--dim); font-size: 0.92rem; }
.astral-path a:hover { border-color: var(--gold); }
@media (min-width: 720px) {
  .astral-tonight { grid-template-columns: 1fr 1fr 1fr; }
  .astral-tonight li { grid-template-columns: 1fr; }
  .astral-tonight em { grid-row: auto; }
}
@media (max-width: 520px) {
  .astral-hero img {
    max-height: 38vh;
    aspect-ratio: 16 / 10;
    object-position: center 32%;
  }
  .astral-hero-copy {
    position: static;
    padding: 0.9rem 0.85rem 1rem;
    background: #100c08;
  }
  .astral-hero-copy h1 { font-size: 1.45rem; }
  .astral-hero-lead { font-size: 0.98rem; }
}
.astral-archive .br-essay-copy h2 {
  font-family: "Share Tech Mono", ui-monospace, Menlo, monospace;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.1rem 0 0.7rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
}
.astral-archive .br-essay-copy h3 {
  font-size: 1.05rem;
  color: #ead8b0;
  margin: 1.4rem 0 0.45rem;
  font-weight: 650;
}
.astral-archive .br-standfirst {
  font-size: 1.22rem;
  line-height: 1.5;
  color: #ede1c8;
  margin: 0 0 1.2rem;
}
.astral-doctrine {
  margin: 1.1rem 0 1.4rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--rule);
  background: rgba(12, 10, 8, 0.62);
}
.astral-doctrine p { margin: 0 0 0.5rem; }
.astral-doctrine p:last-child { margin-bottom: 0; color: var(--dim); }
.astral-callout {
  margin: 1.2rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(20, 14, 8, 0.45);
  color: #e8dcc8;
  font-style: italic;
}
.astral-fig { margin: 1.25rem 0 1.5rem; }
.astral-fig img { width: 100%; display: block; border: 1px solid var(--rule); }
.astral-fig figcaption {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin-top: 0.4rem;
}
.astral-toc {
  display: grid;
  gap: 0.25rem 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.astral-toc a,
.astral-toc button.astral-toc-link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--gold);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.astral-toc a:hover,
.astral-toc button.astral-toc-link:hover { text-decoration: underline; }
.astral-bib {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--dim);
  font-size: 0.92rem;
}
.astral-bib li { margin: 0.35rem 0; }
.astral-bib a { color: #e0c878; }
.astral-rel {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 1.15rem 0 0;
}
.astral-rel a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 7.4rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rule);
  color: #f0e6d0;
  text-decoration: none;
  background: rgba(12, 10, 8, 0.4);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.astral-rel a.has-art {
  background-image:
    linear-gradient(180deg, rgba(8,6,4,0.12) 0%, rgba(8,6,4,0.72) 52%, rgba(8,6,4,0.94) 100%),
    var(--rel-art);
  background-size: cover;
  background-position: center;
}
.astral-rel a strong {
  display: block;
  color: #e0c878;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.astral-meta {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 1rem;
}
.astral-doors {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 1.2rem 0 1.6rem;
}
.astral-door {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  background: #120e0a;
  overflow: hidden;
}
.astral-door img { width: 100%; height: 7.2rem; object-fit: cover; display: block; }
.astral-door span { padding: 0.7rem 0.8rem 0.85rem; }
.astral-door em {
  display: block;
  font-style: normal;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
#experiment-pane-astral.is-active {
  position: relative;
  overflow: auto;
  background: #080604;
}
#experiment-pane-astral .exp-lab {
  padding: 0.75rem 0.9rem 1.6rem;
}
#experiment-pane-astral .exp-lab-3d {
  overflow: visible;
}
#experiment-pane-astral .rv-nav {
  position: relative;
  z-index: 2;
  top: auto;
  background: transparent;
  padding-bottom: 0.45rem;
  margin-bottom: 0.35rem;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 0.38rem;
  width: 100%;
  align-items: stretch;
}
#experiment-pane-astral .rv-nav-back {
  width: auto;
  white-space: nowrap;
}
#experiment-pane-astral .rv-nav > button:not(.rv-nav-back) {
  min-width: 0;
  width: 100%;
  white-space: normal;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
}
#experiment-pane-astral .astral-stage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 1.35rem;
  position: relative;
  z-index: 1;
}
#experiment-pane-astral .astral-stage-cta .engage-btn {
  position: static;
  z-index: 1;
  display: inline-flex;
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  white-space: nowrap;
  transform: none;
}
#experiment-pane-astral .astral-info-nav {
  position: relative;
  z-index: 1;
  margin: 0 0 1.35rem;
}
#experiment-pane-astral .exp-lab-3d h2 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #f6ead0;
  margin: 0.15rem 0 0.55rem;
}
.astral-info-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.38rem;
  margin: 0 0 1.35rem;
  width: 100%;
  align-items: stretch;
}
.astral-info-nav button {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brass, #c9a24a);
  background: rgba(8, 10, 14, 0.65);
  border: 1px solid rgba(154, 122, 64, 0.35);
  padding: 0.42rem 0.35rem;
  cursor: pointer;
  white-space: normal;
  overflow: hidden;
  text-align: center;
  line-height: 1.2;
}
.astral-info-nav button.is-on {
  color: #1a1208;
  background: linear-gradient(180deg, #ffe08a, #c99228);
  border-color: transparent;
  font-weight: 700;
}
@media (max-width: 900px) {
  .astral-info-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .astral-info-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .astral-info-nav button { font-size: 0.62rem; padding: 0.4rem 0.22rem; letter-spacing: 0.04em; }
}
.astral-stage {
  color: #ede1c8;
  padding: 0 0 1.6rem;
}
.astral-stage-hero {
  position: relative;
  min-height: 15.5rem;
  background-size: cover;
  background-position: center 38%;
  border-bottom: 1px solid rgba(201, 168, 72, 0.28);
}
.astral-stage-hero-short { min-height: 12.5rem; }
.astral-stage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,6,4,0.05) 0%, rgba(8,6,4,0.22) 45%, rgba(8,6,4,0.92) 100%);
  pointer-events: none;
}
.astral-stage-hero-copy {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.1rem 1.05rem;
  max-width: 44rem;
}
.astral-stage-hero-copy h2 {
  font-family: "Iowan Old Style", Palatino, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  letter-spacing: -0.02em;
  color: #f6ead0;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}
.astral-stage-hero-copy p {
  margin: 0 0 0.85rem;
  color: #e8dcc4;
  font-size: 0.98rem;
  line-height: 1.4;
  max-width: 32rem;
}
.astral-stage-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.astral-stage-cta .tab-like-btn,
.astral-stage-cta a.tab-like-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.astral-stage-body {
  padding: 0.95rem 0.9rem 0.2rem;
  max-width: 58rem;
}
.astral-stage-label {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4a24a;
  margin: 0.35rem 0 0.55rem;
}
.astral-run-grid,
.astral-more-grid {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.15rem;
}
.astral-run-card {
  appearance: none;
  position: relative;
  min-height: 10.2rem;
  border: 1px solid rgba(201, 168, 72, 0.32);
  background-color: #120e0a;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  color: #f3ead8;
  padding: 0;
}
.astral-run-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.55) 48%, rgba(0,0,0,0.92) 100%);
}
.astral-run-card.is-locked { filter: saturate(0.45); }
.astral-run-card.is-locked .astral-run-card-copy span { color: #e0c878; }
.astral-run-card-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.05rem 0.9rem 0.85rem;
}
.astral-run-card em {
  display: block;
  font-style: normal;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0c878;
  margin-bottom: 0.2rem;
}
.astral-run-card strong {
  display: block;
  font-size: 1.18rem;
  color: #fff;
  margin-bottom: 0.18rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.astral-run-card span { color: #e8dcc4; font-size: 0.84rem; }
.astral-run-card:hover { border-color: #e0c060; transform: translateY(-2px); }
.astral-archive-strip {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1rem;
}
.astral-strip-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201, 168, 72, 0.28);
  background: #120e0a;
  overflow: hidden;
  min-height: 8.5rem;
}
.astral-strip-card img {
  width: 100%;
  height: 4.6rem;
  object-fit: cover;
  display: block;
}
.astral-strip-card span { padding: 0.55rem 0.65rem 0.7rem; color: #c4b496; font-size: 0.82rem; }
.astral-strip-card strong { display: block; color: #f0e4cc; margin-bottom: 0.12rem; }
.astral-strip-card:hover { border-color: #e0c060; }
.astral-safety-list {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
  color: #d8ccb4;
  line-height: 1.55;
}
.astral-safety-list li { margin: 0.28rem 0; }
.astral-spec-line {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #e8dcc4;
  border: 1px solid rgba(201, 168, 72, 0.28);
  padding: 0.75rem 0.85rem;
  margin: 0;
}
.astral-spec-line strong { color: #d4a24a; margin-right: 0.45rem; }
.astral-prompt {
  margin: 0 0 0.9rem;
  padding: 0 0 0 2.1rem;
  color: #e8dcc4;
  font-size: 1.02rem;
  line-height: 1.55;
  list-style-position: outside;
}
.astral-prompt li {
  margin: 0.45rem 0;
  padding-left: 0.35rem;
}
.astral-practice-grid {
  margin-bottom: 1.35rem;
}
.astral-topic-grid {
  margin-bottom: 0.4rem;
}
.astral-diary {
  margin: 0 0 0.4rem;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid rgba(201, 168, 72, 0.32);
  background: rgba(12, 10, 8, 0.5);
}
.astral-diary label {
  display: block;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a24a;
  margin-bottom: 0.45rem;
}
.astral-diary textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 7.2rem;
  resize: vertical;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: #f3ead8;
  background: #100c08;
  border: 1px solid rgba(201, 168, 72, 0.35);
  padding: 0.7rem 0.75rem;
  margin: 0 0 0.65rem;
}
.astral-diary textarea:focus {
  outline: none;
  border-color: #e0c060;
}
.astral-diary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}
.astral-diary-status {
  font-size: 0.86rem;
  color: #c4b496;
}
.astral-topic-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.35rem 0 1.6rem;
  box-sizing: border-box;
}
#experiment-pane-astral .exp-lab-3d.astral-topic-body {
  max-width: none;
  width: 100%;
}
.astral-topic-copy {
  max-width: none;
  font-size: 1.1rem;
  line-height: 1.72;
  color: #ece2cc;
}
.astral-topic-copy .astral-fig img {
  width: 100%;
  max-height: 22rem;
  object-fit: cover;
}
.astral-topic-copy p { margin: 0 0 1.05rem; }
.astral-topic-copy p:last-child { margin-bottom: 0; }
.astral-topic-copy ul,
.astral-topic-copy ol {
  margin: 0 0 1.05rem;
  padding-left: 2.1rem;
  list-style-position: outside;
}
.astral-topic-copy li { margin: 0 0 0.4rem; }
.astral-bib { padding-left: 1.85rem; }
.astral-topic-copy h2 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.28rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 650;
  color: #ead8b0;
  margin: 1.85rem 0 0.7rem;
  border-top: 1px solid rgba(201, 168, 72, 0.28);
  padding-top: 1.05rem;
}
.astral-topic-copy h3 {
  font-size: 1.08rem;
  color: #e6d3a8;
  margin: 1.35rem 0 0.45rem;
  font-weight: 650;
}
.astral-topic-copy h2,
.astral-topic-copy h3,
.astral-archive .br-essay-copy h2,
.astral-archive .br-essay-copy h3 {
  scroll-margin-top: 4.5rem;
}
.astral-topic-copy a { color: #e0c878; }
.astral-topic-copy .br-standfirst {
  font-size: 1.18rem;
  line-height: 1.55;
  color: #f0e6d0;
}
.astral-topic-copy .astral-toc {
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
  padding: 0.7rem 0.9rem;
}
.astral-toc-link,
.astral-topic-copy .astral-toc button {
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: #e0c878;
  background: transparent;
  border: 0;
  padding: 0.12rem 0;
  cursor: pointer;
}
.astral-toc-link:hover,
.astral-topic-copy .astral-toc button:hover { text-decoration: underline; }
.astral-felt { margin: 0 0 0.85rem; }
.astral-felt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.astral-felt-row button {
  appearance: none;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass, #c9a24a);
  background: rgba(8, 10, 14, 0.65);
  border: 1px solid rgba(154, 122, 64, 0.35);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}
.astral-felt-row button.is-on {
  color: #1a1208;
  background: linear-gradient(180deg, #ffe08a, #c99228);
  border-color: transparent;
  font-weight: 700;
}
.astral-topic-body .astral-pills { margin-bottom: 1rem; }
.astral-stage-fine {
  font-size: 0.78rem;
  color: #9a8c74;
  margin: 0.4rem 0 0;
}
.astral-stage-fine a { color: #e0c878; }
@media (min-width: 720px) {
  .astral-run-grid,
  .astral-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .astral-practice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .astral-archive-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .astral-stage-hero { min-height: 18rem; }
  .astral-stage-hero-short { min-height: 14rem; }
  .astral-stage-hero-copy { padding: 1.6rem 1.2rem 1.2rem; }
}
@media (max-width: 520px) {
  #experiment-pane-astral .rv-nav {
    position: relative;
    top: auto;
    background: transparent;
  }
  #experiment-pane-astral .astral-stage-cta .engage-btn {
    white-space: normal;
    text-align: center;
  }
  .astral-stage-hero { min-height: 11.5rem; }
  .astral-stage-hero-short { min-height: 9.8rem; }
  .astral-stage-hero-copy { padding: 1.05rem 0.75rem 0.85rem; }
  .astral-stage-hero-copy h2 { font-size: 1.28rem; }
  .astral-stage-hero-copy p { font-size: 0.88rem; margin-bottom: 0.55rem; }
  .astral-run-card { min-height: 8.8rem; }
}
.astral-layer h2 {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: #d4a24a;
  margin: 0.15rem 0 0.55rem;
}
.astral-layer .astral-lead { max-width: 44rem; line-height: 1.5; color: #c4b496; margin: 0 0 0.85rem; }
.astral-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin: 0 0 1rem;
  width: 100%;
}
.astral-pills button, .astral-pills a {
  appearance: none;
  flex: 1 1 6.4rem;
  text-align: center;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d4c4a8;
  background: rgba(20, 16, 12, 0.75);
  border: 1px solid rgba(154, 104, 32, 0.45);
  padding: 0.42rem 0.5rem;
  border-radius: 0.28rem;
  cursor: pointer;
  text-decoration: none;
}
.astral-pills button.is-on, .astral-pills a.is-on {
  color: #1e140c;
  background: linear-gradient(180deg, #c89840, #9a6820);
  border-color: #c89840;
  font-weight: 700;
}
.astral-proto-grid, .astral-desk-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
@media (min-width: 900px) {
  .astral-proto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .astral-desk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.astral-proto-card, .astral-desk-card {
  appearance: none;
  text-align: left;
  color: inherit;
  background: rgba(12, 10, 8, 0.55);
  border: 1px solid rgba(201, 168, 72, 0.28);
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.astral-proto-card strong, .astral-desk-card strong { display: block; color: #e8dcc8; margin-bottom: 0.22rem; }
.astral-proto-card span, .astral-desk-card span { font-size: 0.86rem; color: #c4b496; }
.astral-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.85rem 0; }
.astral-spec {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 0.8rem;
  margin: 1rem 0 1.3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.astral-spec dt { color: var(--gold); margin: 0; }
.astral-spec dd { margin: 0; color: var(--ink); }
.astral-archive .br-essay-copy ul,
.astral-archive .br-essay-copy ol { margin: 0.4rem 0 1rem; padding-left: 2rem; list-style-position: outside; }
.astral-archive .br-essay-copy li { margin: 0.28rem 0; }
.astral-archive .br-nav { margin-top: 1.6rem; font-size: 0.92rem; color: var(--dim); }
.astral-archive .br-nav a { color: var(--gold); }
.astral-archive .astral-doors { margin-top: 0.4rem; }
@media (min-width: 720px) {
  .astral-toc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .astral-pills button, .astral-pills a { font-size: 0.48rem; padding: 0.28rem 0.36rem; }
  .astral-archive .br-essay-copy { font-size: 0.98rem; }
  .astral-spec { grid-template-columns: 1fr; }
}

/* Reference frame: definition, what the page establishes, evidence status */
.astral-frame {
  margin: 0 0 1.55rem;
  padding: 0.95rem 1.05rem 1.05rem;
  border: 1px solid var(--rule);
  background: rgba(12, 10, 8, 0.58);
}
.astral-archive .br-essay-copy .astral-frame h2,
#experiment-pane-astral .astral-topic-copy .astral-frame h2 {
  font-family: "Share Tech Mono", ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.55rem;
  border-top: 0;
  padding-top: 0;
}
.astral-establishes {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}
.astral-establishes li { margin: 0.38rem 0; color: #ede1c8; }
.astral-status {
  display: grid;
  gap: 0.65rem 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 0.15rem 0 0.75rem;
}
.astral-status dt {
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.astral-status dd {
  margin: 0.2rem 0 0;
  color: #e8dcc8;
  font-size: 0.95rem;
  line-height: 1.5;
}
.astral-why {
  margin: 0;
  color: #d8ccb4;
  font-size: 0.98rem;
  line-height: 1.55;
}
.astral-ev {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0.7rem 0 1.15rem;
}
.astral-ev div {
  border: 1px solid var(--rule);
  padding: 0.5rem 0.6rem 0.55rem;
  background: rgba(8, 6, 4, 0.42);
  min-width: 0;
}
.astral-ev span {
  display: block;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.22rem;
}
.astral-cite {
  font-style: normal;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 0.82em;
  letter-spacing: 0.03em;
  color: #e0c878;
  white-space: nowrap;
  text-decoration: none;
}
a.astral-cite:hover { text-decoration: underline; }
.astral-q5 {
  margin: 0.55rem 0 1.1rem;
  padding-left: 1.2rem;
}
.astral-q5 li { margin: 0.45rem 0; }
.astral-q5 strong { color: #ead8b0; }
#experiment-pane-astral .astral-topic-copy .astral-frame h2,
#experiment-pane-astral .astral-topic-copy h3 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
}
#experiment-pane-astral .astral-topic-copy .astral-frame h2 {
  font-family: "Share Tech Mono", ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 640px) {
  .astral-ev { grid-template-columns: 1fr; }
}
