:root {
  --paper: #e9e0cf;
  --paper-light: #f4edde;
  --paper-deep: #d9ccb8;
  --ink: #1f2925;
  --ink-soft: #4d554d;
  --rust: #a4472e;
  --rust-deep: #76301f;
  --moss: #5b6244;
  --gold: #b58f4d;
  --line: rgba(31, 41, 37, 0.23);
  --shadow: 0 24px 80px rgba(52, 40, 24, 0.14);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(56, 47, 35, 0.04) 50%, transparent 50.2%),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  box-shadow: inset 0 0 150px rgba(53, 38, 21, 0.08);
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 19;
  opacity: 0.09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  animation: grain-drift 18s steps(8) infinite;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  opacity: 0.55;
}

.orb-one {
  width: 430px;
  height: 430px;
  right: -190px;
  top: 18vh;
  border: 1px solid rgba(164, 71, 46, 0.18);
  animation: orb-drift-one 28s ease-in-out infinite alternate;
}

.orb-two {
  width: 190px;
  height: 190px;
  left: -80px;
  bottom: 12vh;
  border: 1px solid rgba(91, 98, 68, 0.22);
  animation: orb-drift-two 34s ease-in-out infinite alternate;
}

@keyframes grain-drift { 0% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-1.2%, .8%, 0); } 100% { transform: translate3d(.7%, -1%, 0); } }
@keyframes orb-drift-one { from { transform: translate3d(0, -2vh, 0) scale(1); } to { transform: translate3d(-8vw, 9vh, 0) scale(1.12); } }
@keyframes orb-drift-two { from { transform: translate3d(0, 3vh, 0) scale(.92); } to { transform: translate3d(10vw, -8vh, 0) scale(1.08); } }

.site-header {
  width: min(1420px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.wordmark-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: italic 26px/1 var(--serif);
  transform: rotate(-8deg);
}

.wordmark b,
.wordmark small {
  display: block;
}

.wordmark b {
  font: 500 17px/1.1 var(--serif);
  letter-spacing: 0.01em;
}

.wordmark small {
  margin-top: 4px;
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-button,
.text-link {
  appearance: none;
  border: 0;
  padding: 3px 0;
  color: var(--ink);
  background: transparent;
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button:hover,
.text-link:hover {
  color: var(--rust);
}

kbd {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  font: inherit;
}

.threshold {
  width: min(1420px, calc(100% - 64px));
  min-height: calc(100svh - 92px);
  margin: 0 auto;
  padding: clamp(70px, 10vh, 130px) 6vw 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 11vw;
  align-items: center;
  position: relative;
}

.threshold::before {
  content: "";
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 64%;
  width: 1px;
  background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent);
  transform: rotate(8deg);
}

.eyebrow,
.folio,
.orientation-number,
.form-kicker {
  margin: 0 0 24px;
  color: var(--rust);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 8px;
}

.threshold h2 {
  max-width: 810px;
  margin: 0;
  font: 300 clamp(70px, 8.4vw, 142px)/0.81 var(--serif);
  letter-spacing: -0.055em;
}

.threshold h2 em {
  color: var(--rust);
  font-weight: 300;
}

.lede {
  max-width: 650px;
  margin: 46px 0 0 7vw;
  padding-left: 22px;
  border-left: 1px solid var(--rust);
  color: var(--ink-soft);
  font: 400 clamp(16px, 1.4vw, 20px)/1.65 var(--serif);
}

.entry-actions {
  margin: 40px 0 0 7vw;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button {
  border: 1px solid var(--ink);
  color: var(--paper-light);
  background: var(--ink);
}

.secondary-button {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.secondary-button:hover {
  color: var(--paper-light);
  background: var(--rust);
  border-color: var(--rust);
}

.orientation-card {
  width: min(100%, 390px);
  min-height: 510px;
  justify-self: end;
  padding: 38px;
  background: rgba(244, 237, 222, 0.64);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.6deg);
  position: relative;
}

.orientation-card::before {
  content: "ARCHIVE COPY";
  position: absolute;
  top: 18px;
  right: -28px;
  color: rgba(118, 48, 31, 0.6);
  border: 1px solid rgba(118, 48, 31, 0.35);
  padding: 6px 10px;
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.14em;
  transform: rotate(90deg);
}

.orbit-map {
  width: 230px;
  height: 230px;
  margin: 8px auto 30px;
  position: relative;
}

.orbit,
.orbit-core,
.star {
  position: absolute;
}

.orbit {
  inset: 20px;
  border: 1px solid rgba(31, 41, 37, 0.32);
  border-radius: 50%;
}

.orbit-a {
  transform: rotate(24deg) scaleY(0.38);
}

.orbit-b {
  transform: rotate(-48deg) scaleY(0.56);
}

.orbit-core {
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--rust);
  font: 300 54px/1 var(--serif);
  animation: breathe 6s ease-in-out infinite;
}

.star {
  color: var(--rust);
}

.star-a { top: 12px; right: 40px; }
.star-b { bottom: 45px; left: 14px; font-size: 28px; }
.star-c { top: 104px; right: 14px; }

@keyframes breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 1; }
}

.orientation-number {
  margin-bottom: 14px;
}

.orientation-card blockquote {
  margin: 0;
  font: 300 27px/1.18 var(--serif);
}

.orientation-meta {
  margin-top: 40px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marginalia {
  position: absolute;
  color: rgba(91, 98, 68, 0.7);
  font: italic 18px/1.15 var(--serif);
  transform: rotate(-8deg);
}

.marginalia-one { left: 0; bottom: 22%; }
.marginalia-two { right: 3%; bottom: 6%; transform: rotate(4deg); }

.archive {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 9vw, 135px) max(32px, calc((100vw - 1420px) / 2));
  color: var(--paper-light);
  background:
    radial-gradient(circle at 80% 10%, rgba(181, 143, 77, 0.08), transparent 25%),
    #202923;
  overflow: hidden;
}

.archive::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -260px;
  top: -270px;
  border: 1px solid rgba(244, 237, 222, 0.1);
  border-radius: 50%;
}

.archive-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  position: relative;
}

.archive .eyebrow,
.archive .folio {
  color: #cf765b;
}

.archive h2,
.field-note h2 {
  margin: 0;
  font: 300 clamp(55px, 7.2vw, 108px)/0.92 var(--serif);
  letter-spacing: -0.045em;
}

.progress-slip {
  min-width: 230px;
  margin-bottom: 10px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-1deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.progress-slip span,
.progress-slip strong {
  display: block;
  font: 400 9px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.progress-slip strong {
  margin-top: 5px;
  color: var(--rust);
}

.doorway-tabs {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 237, 222, 0.23);
  border-bottom: 1px solid rgba(244, 237, 222, 0.23);
}

.doorway-tab {
  min-height: 122px;
  padding: 24px 22px;
  border: 0;
  border-right: 1px solid rgba(244, 237, 222, 0.23);
  color: rgba(244, 237, 222, 0.62);
  background: transparent;
  text-align: left;
  font: 400 18px/1.2 var(--serif);
  cursor: pointer;
  position: relative;
  transition: color 180ms ease, background 180ms ease;
}

.doorway-tab:last-child { border-right: 0; }

.doorway-tab span,
.doorway-tab small {
  display: block;
  font-family: var(--mono);
  text-transform: uppercase;
}

.doorway-tab span {
  margin-bottom: 20px;
  color: #cf765b;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.doorway-tab small {
  margin-top: 5px;
  font-size: 8px;
  letter-spacing: 0.09em;
}

.doorway-tab::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 2px;
  background: #cf765b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.doorway-tab:hover,
.doorway-tab.is-active {
  color: var(--paper-light);
  background: rgba(244, 237, 222, 0.035);
}

.doorway-tab.is-active::after { transform: scaleX(1); }

.archive-panels {
  min-height: 710px;
}

.archive-panel {
  padding: 74px 0 20px;
  animation: fade-in 300ms ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-intro {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 10vw;
  align-items: start;
}

.panel-intro h3 {
  margin: 0;
  font: 300 clamp(43px, 5.1vw, 76px)/0.95 var(--serif);
  letter-spacing: -0.035em;
}

.panel-note {
  max-width: 510px;
  padding: 22px 0 0 22px;
  border-left: 1px solid rgba(244, 237, 222, 0.25);
  color: rgba(244, 237, 222, 0.7);
  font: 300 18px/1.55 var(--serif);
}

.panel-note > p:first-child { margin-top: 0; }

.filter-row {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 12px;
  border: 1px solid rgba(244, 237, 222, 0.23);
  border-radius: 999px;
  color: rgba(244, 237, 222, 0.62);
  background: transparent;
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.perspective-grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.perspective-card {
  min-height: 300px;
  padding: 25px;
  border: 1px solid rgba(244, 237, 222, 0.19);
  color: var(--paper-light);
  background: rgba(244, 237, 222, 0.028);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.perspective-card:nth-child(4n + 1),
.perspective-card:nth-child(4n + 4) { grid-column: span 5; }
.perspective-card:nth-child(4n + 2),
.perspective-card:nth-child(4n + 3) { grid-column: span 7; }

.perspective-card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  border-color: rgba(207, 118, 91, 0.65);
  background: rgba(244, 237, 222, 0.06);
}

.perspective-card::before {
  content: attr(data-symbol);
  position: absolute;
  right: -16px;
  top: -28px;
  color: rgba(244, 237, 222, 0.055);
  font: 300 160px/1 var(--serif);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cf765b;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.perspective-card h4 {
  max-width: 570px;
  margin: 40px 0 14px;
  font: 300 clamp(28px, 3vw, 42px)/1 var(--serif);
  letter-spacing: -0.02em;
}

.perspective-card p {
  max-width: 530px;
  margin: 0;
  color: rgba(244, 237, 222, 0.63);
  font: 300 16px/1.45 var(--serif);
}

.card-open {
  align-self: flex-end;
  margin-top: 25px;
  font: 400 18px/1 var(--mono);
}

.state-select,
.form-row label,
.idea-form > label {
  display: block;
}

.state-select span,
.idea-form label > span {
  display: block;
  margin-bottom: 8px;
  color: #cf765b;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid rgba(244, 237, 222, 0.25);
  border-radius: 0;
  color: var(--paper-light);
  background: rgba(244, 237, 222, 0.04);
}

select,
input {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 126px;
  padding: 13px;
  resize: vertical;
  font-family: var(--serif);
  font-size: 19px;
}

select option { color: var(--ink); background: var(--paper-light); }

.journey-grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.journey-card {
  min-height: 390px;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 180ms ease;
}

.journey-card:nth-child(2) { --tilt: 0.7deg; background: #d8d3c1; }
.journey-card:nth-child(3) { --tilt: -0.6deg; background: #d7c6ac; }
.journey-card:hover { transform: translateY(-5px) rotate(0deg); }

.journey-number {
  color: var(--rust);
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.08em;
}

.journey-card h4 {
  max-width: 300px;
  margin: 55px 0 14px;
  font: 300 39px/1 var(--serif);
}

.journey-card p {
  color: var(--ink-soft);
  font: 300 16px/1.45 var(--serif);
}

.journey-footer {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-footer span {
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-footer button {
  border: 0;
  padding: 0;
  color: var(--rust);
  background: transparent;
  font: 500 11px/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}

.journey-player {
  margin-top: 65px;
  padding: clamp(30px, 5vw, 72px);
  border: 1px solid rgba(244, 237, 222, 0.22);
  background: rgba(244, 237, 222, 0.035);
  position: relative;
}

.journey-player::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 237, 222, 0.08);
  pointer-events: none;
}

.player-head,
.player-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.player-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(244, 237, 222, 0.2);
}

.player-head p,
.player-step-label {
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-close {
  border: 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.player-body {
  max-width: 760px;
  margin: 70px auto;
  text-align: center;
}

.player-symbol {
  display: block;
  margin-bottom: 28px;
  color: #cf765b;
  font: 300 58px/1 var(--serif);
}

.player-body h4 {
  margin: 12px 0 18px;
  font: 300 clamp(38px, 5vw, 65px)/1 var(--serif);
}

.player-body p {
  color: rgba(244, 237, 222, 0.74);
  font: 300 20px/1.55 var(--serif);
}

.reflection-input {
  margin-top: 24px;
}

.step-dots { display: flex; gap: 7px; }
.step-dot { width: 30px; height: 2px; background: rgba(244, 237, 222, 0.2); }
.step-dot.is-active { background: #cf765b; }

.care-note {
  margin-top: 25px;
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.care-note span { color: #cf765b; }

.guide-stack {
  margin-top: 65px;
  border-top: 1px solid rgba(244, 237, 222, 0.22);
}

.guide {
  border-bottom: 1px solid rgba(244, 237, 222, 0.22);
}

.guide-summary {
  width: 100%;
  min-height: 132px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 90px 1fr auto 36px;
  align-items: center;
  gap: 25px;
  border: 0;
  color: var(--paper-light);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.guide-summary:hover h4 { color: #cf765b; }

.guide-index,
.guide-duration {
  color: rgba(244, 237, 222, 0.55);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-summary h4 {
  margin: 0;
  font: 300 clamp(26px, 3.2vw, 44px)/1 var(--serif);
  transition: color 180ms ease;
}

.guide-toggle {
  font: 300 28px/1 var(--serif);
}

.guide-body {
  padding: 0 0 45px 115px;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1.35fr;
  gap: 8vw;
}

.guide-body > p {
  margin: 0;
  color: rgba(244, 237, 222, 0.67);
  font: 300 17px/1.55 var(--serif);
}

.checklist { display: grid; gap: 12px; }

.check-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(244, 237, 222, 0.82);
  font: 300 17px/1.45 var(--serif);
  cursor: pointer;
}

.check-item input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid rgba(244, 237, 222, 0.45);
  background: transparent;
  cursor: pointer;
}

.check-item input:checked {
  background: #cf765b;
  box-shadow: inset 0 0 0 4px var(--ink);
}

.board-layout {
  margin-top: 65px;
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 7vw;
  align-items: start;
}

.idea-form {
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  transform: rotate(-0.6deg);
}

.idea-form .form-kicker { margin-bottom: 30px; }

.idea-form .form-note {
  margin: -12px 0 26px;
  color: var(--ink-soft);
  font: 300 15px/1.45 var(--serif);
}

.idea-form.is-saving {
  opacity: 0.78;
}

.idea-form select,
.idea-form input,
.idea-form textarea {
  border-color: rgba(31, 41, 37, 0.28);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.22);
}

.idea-form label > span { color: var(--rust); }

.form-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-footer > span {
  color: var(--ink-soft);
  font: 400 8px/1 var(--mono);
}

.form-footer .primary-button { min-height: 45px; }

.primary-button:disabled,
.echo-button:disabled,
.delete-idea:disabled {
  cursor: wait;
  opacity: 0.55;
}

.vault-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.board-tools {
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(244, 237, 222, 0.22);
}

.board-tools p {
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.board-tools select {
  width: auto;
  min-width: 160px;
  height: 36px;
  font: 400 9px/1 var(--mono);
  text-transform: uppercase;
}

.vault-sync-status {
  margin: 13px 0 0;
  color: rgba(244, 237, 222, 0.58);
  font: 400 9px/1.35 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vault-sync-status[data-tone="connected"] { color: #b7d8b5; }
.vault-sync-status[data-tone="error"] { color: #e6b6a6; }

.idea-board {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.idea-card {
  min-height: 215px;
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transform: rotate(var(--tilt, 0deg));
}

.idea-card:nth-child(3n + 1) { --tilt: 0.7deg; background: #d5cfba; }
.idea-card:nth-child(3n + 2) { --tilt: -0.8deg; background: #e6d3bd; }

.idea-card::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 12px;
  left: 50%;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.idea-card blockquote {
  margin: 20px 0;
  font: 300 22px/1.15 var(--serif);
}

.idea-meta,
.idea-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.echo-button,
.delete-idea {
  border: 0;
  padding: 0;
  color: var(--rust);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.echo-button.is-echoed {
  color: var(--ink-soft);
  cursor: default;
}

.vault-origin {
  margin-left: 5px;
  padding: 3px 5px;
  border: 1px solid rgba(93, 66, 50, 0.25);
  color: var(--rust);
  font-style: normal;
  white-space: nowrap;
}

.vault-origin.is-mine {
  color: #315e46;
  border-color: rgba(49, 94, 70, 0.28);
}

.vault-origin.is-private {
  color: #745b8a;
  border-color: rgba(116, 91, 138, 0.3);
}

.field-note {
  width: min(1420px, calc(100% - 64px));
  min-height: 650px;
  margin: 0 auto;
  padding: 120px 8vw;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-content: center;
  position: relative;
}

.field-note .folio { grid-column: 1; }

.field-note h2 {
  grid-column: 1;
  font-size: clamp(48px, 6vw, 88px);
}

.field-note > p:not(.folio) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 610px;
  align-self: end;
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid var(--rust);
  color: var(--ink-soft);
  font: 300 clamp(20px, 2vw, 28px)/1.45 var(--serif);
}

.field-note .text-button {
  grid-column: 2;
  justify-self: start;
  margin: 30px 0 0 24px;
}

.field-note-mark {
  position: absolute;
  right: 4vw;
  bottom: 0;
  color: rgba(164, 71, 46, 0.07);
  font: italic 330px/0.7 var(--serif);
  z-index: -1;
}

footer {
  width: min(1420px, calc(100% - 64px));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-mark span,
.footer-mark small { display: block; }
.footer-mark span { color: var(--rust); }
.footer-mark small { margin-top: 4px; }
.footer-email { color: var(--ink); font-size: 11px; text-transform: lowercase; letter-spacing: .04em; text-underline-offset: 4px; }

.sound-bath-portal { width: min(1420px, calc(100% - 64px)); min-height: 560px; margin: clamp(50px, 8vw, 120px) auto; padding: clamp(48px, 7vw, 100px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; color: var(--paper-light); background: #17201b; border: 1px solid rgba(244, 237, 222, .15); }
.sound-bath-portal::before { content:""; position:absolute; width:520px; aspect-ratio:1; right:-120px; top:50%; border:1px solid rgba(183,216,181,.24); border-radius:50%; transform:translateY(-50%); box-shadow:0 0 0 70px rgba(183,216,181,.035),0 0 0 140px rgba(183,216,181,.025),0 0 120px rgba(183,216,181,.08); animation:portal-breathe 9s ease-in-out infinite alternate; }
.sound-bath-portal-copy { position:relative; z-index:1; }
.sound-bath-portal h2 { margin:18px 0 26px; font:300 clamp(52px,7vw,96px)/.88 var(--serif); }
.sound-bath-portal h2 em { color:#b7d8b5; font-weight:300; }
.sound-bath-portal-copy > p:not(.folio) { max-width:650px; color:rgba(244,237,222,.7); font:300 19px/1.6 var(--serif); }
.sound-bath-portal .primary-button { margin-top:24px; color:var(--ink); background:#b7d8b5; border-color:#b7d8b5; }
.frequency-index { min-height:360px; position:relative; z-index:1; display:grid; grid-template-columns:repeat(2,1fr); align-content:center; gap:12px 40px; color:rgba(244,237,222,.18); font:300 clamp(48px,6vw,82px)/.9 var(--serif); text-align:right; }
.frequency-index span:nth-child(4) { color:#b7d8b5; }
.frequency-index small { position:absolute; right:0; bottom:8px; color:rgba(244,237,222,.48); font:500 12px/1 var(--mono); letter-spacing:.15em; }
@keyframes portal-breathe { from { transform:translateY(-50%) scale(.94); opacity:.65; } to { transform:translateY(-50%) scale(1.08); opacity:1; } }

.sound-bath-dialog { width:min(1180px,calc(100vw - 28px)); max-height:94vh; padding:0; color:var(--paper-light); background:#101713; border:1px solid rgba(244,237,222,.2); }
.sound-bath-dialog::backdrop { background:rgba(10,15,12,.82); backdrop-filter:blur(8px); }
.sound-bath-shell { padding:clamp(34px,6vw,78px); }
.sound-bath-shell > header { display:grid; grid-template-columns:1fr .8fr; gap:50px; align-items:end; }
.sound-bath-shell h2 { margin:14px 0 0; font:300 clamp(50px,7vw,86px)/.9 var(--serif); }
.sound-bath-shell h2 em { color:#b7d8b5; font-weight:300; }
.sound-bath-shell > header > p:last-child { color:rgba(244,237,222,.65); font:300 18px/1.55 var(--serif); }
.bath-chamber { height:min(44vh,430px); margin:42px 0 28px; position:relative; display:grid; place-items:center; overflow:hidden; border:1px solid rgba(244,237,222,.16); background:radial-gradient(circle at center,rgba(183,216,181,.12),transparent 55%); }
.bath-rings,.bath-rings span,.bath-rings i { position:absolute; left:50%; top:50%; border:1px solid rgba(183,216,181,.25); border-radius:50%; transform:translate(-50%,-50%); }
.bath-rings { width:min(58vw,390px); aspect-ratio:1; }
.bath-rings span:nth-child(1) { width:74%; height:74%; }
.bath-rings span:nth-child(2) { width:48%; height:48%; }
.bath-rings span:nth-child(3) { width:24%; height:24%; }
.bath-rings i { width:5%; height:5%; background:#b7d8b5; box-shadow:0 0 45px #b7d8b5; }
.bath-chamber.is-playing .bath-rings { animation:bath-pulse 7s ease-in-out infinite; }
.bath-chamber.is-playing .bath-rings span:nth-child(1) { animation:bath-pulse 5.5s ease-in-out infinite reverse; }
.bath-chamber.is-playing .bath-rings span:nth-child(2) { animation:bath-pulse 4.2s ease-in-out infinite; }
@keyframes bath-pulse { 0%,100% { transform:translate(-50%,-50%) scale(.92); opacity:.45; } 50% { transform:translate(-50%,-50%) scale(1.08); opacity:1; } }
.bath-reading { position:relative; z-index:2; display:grid; justify-items:center; }
.bath-reading strong { font:300 clamp(74px,12vw,150px)/.75 var(--serif); }
.bath-reading > span,.bath-reading small { margin-top:14px; color:#b7d8b5; font:500 11px/1 var(--mono); letter-spacing:.15em; }
.frequency-picker { display:grid; grid-template-columns:repeat(6,1fr); border:1px solid rgba(244,237,222,.16); }
.frequency-picker button { min-height:105px; padding:16px 10px; display:grid; align-content:center; gap:7px; color:rgba(244,237,222,.58); background:transparent; border:0; border-right:1px solid rgba(244,237,222,.16); cursor:pointer; }
.frequency-picker button:last-child { border-right:0; }
.frequency-picker button.is-selected { color:var(--ink); background:#b7d8b5; }
.frequency-picker strong { font:300 30px/1 var(--serif); }
.frequency-picker span { font:400 11px/1.3 var(--sans); }
.bath-controls { margin-top:22px; display:grid; grid-template-columns:170px 1fr auto 100px; align-items:end; gap:20px; }
.bath-controls label { display:grid; gap:8px; }
.bath-controls label > span,.bath-timer small { color:rgba(244,237,222,.52); font:500 10px/1 var(--mono); letter-spacing:.12em; }
.bath-controls select { min-height:48px; padding:0 12px; color:var(--paper-light); background:#101713; border:1px solid rgba(244,237,222,.3); }
.bath-controls input[type="range"] { width:100%; accent-color:#b7d8b5; }
.bath-controls .primary-button { color:var(--ink); background:#b7d8b5; border-color:#b7d8b5; }
.bath-timer { display:grid; justify-items:end; gap:8px; }
.bath-timer > span { font:300 34px/1 var(--serif); }
.bath-care-note { margin:28px 0 0; padding-top:20px; color:rgba(244,237,222,.48); border-top:1px solid rgba(244,237,222,.14); font:400 13px/1.55 var(--sans); }

@media (max-width:900px){.sound-bath-portal{grid-template-columns:1fr}.frequency-index{display:none}.sound-bath-shell>header{grid-template-columns:1fr;gap:15px}.frequency-picker{grid-template-columns:repeat(3,1fr)}.frequency-picker button:nth-child(3){border-right:0}.frequency-picker button:nth-child(-n+3){border-bottom:1px solid rgba(244,237,222,.16)}.bath-controls{grid-template-columns:1fr 1fr}.bath-timer{justify-items:start}}
@media (max-width:560px){.sound-bath-portal{width:calc(100% - 34px);padding:42px 22px}.frequency-picker{grid-template-columns:repeat(2,1fr)}.frequency-picker button:nth-child(3){border-right:1px solid rgba(244,237,222,.16)}.frequency-picker button:nth-child(even){border-right:0}.frequency-picker button:nth-child(-n+4){border-bottom:1px solid rgba(244,237,222,.16)}.bath-controls{grid-template-columns:1fr}.bath-timer{justify-items:start}.bath-controls .primary-button{width:100%}}

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(20, 25, 21, 0.76);
  backdrop-filter: blur(8px);
}

.reading-drawer {
  width: min(700px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  margin: 12px 12px 12px auto;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.22);
}

.reading-drawer[open] { animation: slide-in 260ms ease; }

@keyframes slide-in {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.drawer-close {
  position: sticky;
  z-index: 2;
  top: 20px;
  float: right;
  margin: 20px 24px 0 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-light);
  font: 300 26px/1 var(--serif);
  cursor: pointer;
}

#drawer-content { padding: clamp(45px, 8vw, 90px); }

.drawer-folio {
  color: var(--rust);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#drawer-content h2 {
  margin: 45px 0 30px;
  font: 300 clamp(48px, 7vw, 82px)/0.91 var(--serif);
  letter-spacing: -0.045em;
}

.drawer-deck {
  margin: 0 0 45px;
  padding-left: 18px;
  border-left: 1px solid var(--rust);
  color: var(--ink-soft);
  font: italic 300 22px/1.35 var(--serif);
}

.drawer-copy p {
  margin: 0 0 21px;
  color: var(--ink-soft);
  font: 300 19px/1.56 var(--serif);
}

.grounded-note,
.carry-question {
  margin-top: 40px;
  padding: 25px;
  border: 1px solid var(--line);
}

.grounded-note small,
.carry-question small {
  color: var(--rust);
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.grounded-note p,
.carry-question p {
  margin: 13px 0 0;
  font: 300 18px/1.45 var(--serif);
}

.carry-question { background: #ded1bd; transform: rotate(-0.5deg); }

.drawer-actions {
  margin-top: 38px;
  display: flex;
  gap: 12px;
}

.drawer-actions .primary-button,
.drawer-actions .secondary-button { flex: 1; }

.search-dialog {
  width: min(760px, calc(100% - 30px));
  max-height: min(700px, calc(100svh - 40px));
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.search-shell { padding: 20px; }

.search-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 0 12px 16px;
  border-bottom: 1px solid var(--line);
}

.search-line input {
  height: 48px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: 300 25px/1 var(--serif);
}

.search-line input:focus { outline: 0; }

.search-close {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  font: 400 8px/1 var(--mono);
  cursor: pointer;
}

.search-results {
  max-height: 530px;
  overflow: auto;
  padding: 12px 0 0;
}

.search-empty {
  margin: 45px 20px;
  color: var(--ink-soft);
  text-align: center;
  font: italic 300 20px/1.4 var(--serif);
}

.search-result {
  width: 100%;
  padding: 18px 14px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 15px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-result:hover { background: rgba(164, 71, 46, 0.06); }
.search-kind { color: var(--rust); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.search-result strong { font: 300 20px/1.2 var(--serif); }

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 28px;
  padding: 12px 18px;
  color: var(--paper-light);
  background: var(--rust-deep);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* The second layer: paths, maps, installations, and hidden rooms */

.threshold {
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 6vw;
}

.threshold::before { left: 60%; }

.orientation-card.graphic-threshold {
  width: min(100%, 500px);
  min-height: 680px;
  padding: 0;
  border: 1px solid rgba(31, 41, 37, 0.35);
  background: #191a16;
  overflow: visible;
  transform: rotate(1deg);
}

.graphic-threshold > img {
  width: 100%;
  height: 680px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04);
}

.graphic-threshold::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10, 14, 11, 0.5) 100%),
    linear-gradient(90deg, rgba(233, 224, 207, 0.07), transparent 28%);
}

.graphic-threshold-label {
  position: absolute;
  z-index: 2;
  left: -42px;
  right: 34px;
  bottom: -62px;
  padding: 27px 30px;
  color: var(--ink);
  background: rgba(244, 237, 222, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(28, 20, 12, 0.25);
  transform: rotate(-1.6deg);
  backdrop-filter: blur(8px);
}

.graphic-threshold-label blockquote {
  max-width: 330px;
  margin: 0;
  font: 300 24px/1.12 var(--serif);
}

.graphic-threshold-label .orientation-number { margin-bottom: 12px; }
.graphic-threshold-label .orientation-meta { margin-top: 24px; }

.archive-machine {
  height: clamp(390px, 48vw, 650px);
  margin: 70px 0 0;
  border: 1px solid rgba(244, 237, 222, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.26);
}

.archive-machine > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.06);
  transform: scale(1.015);
  transition: transform 1.2s ease, filter 1.2s ease;
}

.archive-machine:hover > img {
  filter: saturate(0.95) contrast(1.02);
  transform: scale(1.035);
}

.archive-machine::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 18, 15, 0.38), transparent 34%, transparent 64%, rgba(10, 15, 12, 0.48)),
    linear-gradient(180deg, transparent 52%, rgba(10, 13, 11, 0.72));
}

.archive-machine::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(153, 197, 151, 0.62), transparent);
  box-shadow: 0 0 14px rgba(131, 192, 132, 0.4);
  opacity: 0.56;
  pointer-events: none;
}

.archive-machine figcaption {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.machine-era {
  position: absolute;
  top: 30px;
  color: rgba(244, 237, 222, 0.86);
  font: 500 9px/1.45 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.machine-era small {
  display: block;
  margin-top: 3px;
  color: rgba(244, 237, 222, 0.5);
  font-size: 7px;
}

.machine-era-past { left: 30px; }
.machine-era-future { right: 30px; text-align: right; color: #9cc79b; }

.machine-action {
  position: absolute;
  left: 50%;
  bottom: 32px;
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 35px;
  border: 1px solid rgba(181, 223, 180, 0.55);
  border-radius: 999px;
  color: #d9ecd8;
  background: rgba(12, 19, 15, 0.78);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 0 25px rgba(88, 153, 91, 0.06);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.machine-action:hover {
  color: #152018;
  background: #b9d9b8;
  transform: translateX(-50%) translateY(-2px);
}

.machine-action i { font-style: normal; }

.archive-machine + .doorway-tabs { margin-top: 48px; }

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 4px rgba(164, 71, 46, 0.12);
  animation: live-pulse 2.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(164, 71, 46, 0.08); }
  50% { box-shadow: 0 0 0 7px rgba(164, 71, 46, 0.18); }
}

.installation-ticket {
  width: 100%;
  margin-top: 28px;
  padding: 15px 0 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 15px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.installation-ticket span {
  grid-column: 1 / -1;
  color: var(--rust);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.1em;
}

.installation-ticket strong {
  font: italic 400 18px/1.2 var(--serif);
}

.installation-ticket i {
  color: var(--rust);
  font: normal 400 16px/1 var(--mono);
}

.secret-door-indicator {
  width: 100%;
  margin-top: 16px;
  padding: 9px;
  border: 1px dashed rgba(164, 71, 46, 0.4);
  color: var(--rust);
  background: transparent;
  font: italic 400 13px/1 var(--serif);
  cursor: pointer;
  animation: secret-arrive 800ms ease;
}

@keyframes secret-arrive {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.perspective-tools {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 237, 222, 0.14);
}

.view-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(244, 237, 222, 0.23);
  border-radius: 999px;
}

.view-switch button {
  padding: 8px 13px;
  border: 0;
  border-radius: 999px;
  color: rgba(244, 237, 222, 0.58);
  background: transparent;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.view-switch button.is-active {
  color: var(--ink);
  background: var(--paper);
}

.evidence-legend {
  margin-top: 45px;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid rgba(244, 237, 222, 0.14);
  border-bottom: 1px solid rgba(244, 237, 222, 0.14);
}

.evidence-marker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 400 8px/1.2 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.evidence-marker i { font-style: normal; }
.evidence-supported i { color: #7c9a78; }
.evidence-developing i { color: #c4a15f; }
.evidence-philosophical i { color: #cf765b; }
.evidence-personal i { color: #a990bd; }

.perspective-card .evidence-marker {
  color: rgba(244, 237, 222, 0.55);
}

.constellation-map {
  min-height: 680px;
  margin-top: 35px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(285px, 0.6fr);
  gap: 28px;
  border: 1px solid rgba(244, 237, 222, 0.17);
  background:
    radial-gradient(circle at 49% 48%, rgba(207, 118, 91, 0.1), transparent 7%),
    radial-gradient(circle at 50% 50%, transparent 28%, rgba(244, 237, 222, 0.025) 29%, transparent 30%),
    rgba(9, 15, 12, 0.18);
}

.constellation-map[hidden] { display: none; }

.constellation-stage {
  min-height: 680px;
  position: relative;
  overflow: hidden;
}

.constellation-stage::before,
.constellation-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(244, 237, 222, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.constellation-stage::before { width: 52%; aspect-ratio: 1; }
.constellation-stage::after { width: 78%; aspect-ratio: 1; }

.constellation-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.constellation-lines line,
.constellation-lines path {
  stroke: rgba(244, 237, 222, 0.18);
  stroke-width: 0.7;
  stroke-dasharray: 2 4;
}

.constellation-node {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  width: clamp(78px, 9vw, 118px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 237, 222, 0.3);
  border-radius: 50%;
  color: var(--paper-light);
  background: rgba(32, 41, 35, 0.82);
  font: 300 clamp(13px, 1.2vw, 17px)/1.1 var(--serif);
  text-align: center;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.constellation-node::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(244, 237, 222, 0.1);
  border-radius: 50%;
}

.constellation-node:hover,
.constellation-node.is-active {
  z-index: 3;
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  transform: translate(-50%, -50%) scale(1.08);
}

.constellation-secret {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(207, 118, 91, 0.35);
  border-radius: 50%;
  color: #cf765b;
  background: #202923;
  font: 300 24px/1 var(--serif);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.constellation-detail {
  margin: 18px;
  padding: 35px;
  color: var(--ink);
  background: var(--paper);
  align-self: stretch;
  position: relative;
}

.constellation-detail::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(31, 41, 37, 0.09);
  pointer-events: none;
}

.constellation-detail h4 {
  margin: 35px 0 18px;
  font: 300 40px/0.95 var(--serif);
}

.constellation-detail > p:not(.folio) {
  color: var(--ink-soft);
  font: 300 16px/1.48 var(--serif);
}

.connection-list {
  margin-top: 35px;
  border-top: 1px solid var(--line);
}

.connection-list button {
  width: 100%;
  padding: 15px 0;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.connection-list button span {
  color: var(--rust);
  font: 400 7px/1.2 var(--mono);
  text-transform: uppercase;
}

.connection-list button strong {
  font: 300 15px/1.15 var(--serif);
}

.branch-choice-grid {
  max-width: 860px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.branch-choice {
  min-height: 125px;
  padding: 22px;
  border: 1px solid rgba(244, 237, 222, 0.28);
  color: var(--paper-light);
  background: rgba(244, 237, 222, 0.03);
  font: 300 20px/1.25 var(--serif);
  text-align: left;
  cursor: pointer;
}

.branch-choice:hover {
  color: var(--ink);
  background: var(--paper);
}

.artifact-maker {
  max-width: 920px;
  margin: 45px auto 0;
  padding-top: 35px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 34px;
  border-top: 1px solid rgba(244, 237, 222, 0.18);
  text-align: left;
}

.artifact-controls label {
  display: block;
  margin-bottom: 8px;
  color: #cf765b;
  font: 400 8px/1.2 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.artifact-controls textarea { margin-bottom: 14px; }
.artifact-controls .primary-button { width: 100%; }

.artifact-preview {
  min-height: 330px;
  padding: 32px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(164, 71, 46, 0.14), transparent 18%),
    var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.artifact-preview::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(31, 41, 37, 0.16);
}

.artifact-preview small,
.artifact-preview span {
  z-index: 1;
  font: 400 8px/1.3 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.artifact-preview blockquote {
  z-index: 1;
  margin: 38px 0;
  font: italic 300 clamp(27px, 3vw, 42px)/1.02 var(--serif);
}

.dialog-close {
  position: sticky;
  z-index: 20;
  top: 18px;
  float: right;
  margin: 18px 18px 0 0;
  width: 43px;
  height: 43px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: inherit;
  font: 300 26px/1 var(--serif);
  cursor: pointer;
}

.path-dialog {
  width: min(1120px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  color: var(--paper-light);
  background: #202923;
  box-shadow: var(--shadow);
}

.path-shell {
  min-height: 700px;
  padding: clamp(45px, 7vw, 90px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(207, 118, 91, 0.11), transparent 13%),
    radial-gradient(circle at 50% 42%, transparent 27%, rgba(244, 237, 222, 0.06) 27.3%, transparent 27.6%);
  position: relative;
  isolation: isolate;
}

.path-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 16%, rgba(207, 118, 91, 0.11) 16.2% 16.5%, transparent 16.8% 27%, rgba(244, 237, 222, 0.08) 27.2% 27.5%, transparent 27.8%),
    linear-gradient(115deg, transparent 0 47%, rgba(244, 237, 222, 0.035) 47.2% 47.4%, transparent 47.6%),
    #202923;
  opacity: 1;
}

.path-question { text-align: center; }
.path-question .folio { margin-bottom: 20px; }

.path-symbol {
  display: block;
  color: #cf765b;
  font: 300 68px/1 var(--serif);
  animation: breathe 6s ease-in-out infinite;
}

.path-question h2,
.path-result h2 {
  margin: 24px 0 18px;
  font: 300 clamp(48px, 7vw, 88px)/0.91 var(--serif);
  letter-spacing: -0.04em;
}

.path-question > p:not(.folio) {
  max-width: 540px;
  margin: 0 auto;
  color: rgba(244, 237, 222, 0.65);
  font: 300 18px/1.5 var(--serif);
}

.feeling-grid {
  max-width: 900px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feeling-grid button {
  min-height: 110px;
  padding: 22px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(244, 237, 222, 0.24);
  color: var(--paper-light);
  background: rgba(244, 237, 222, 0.03);
  font: 300 20px/1.2 var(--serif);
  text-align: left;
  cursor: pointer;
}

.feeling-grid button span {
  color: #cf765b;
  font: 400 8px/1 var(--mono);
}

.feeling-grid button:hover {
  color: var(--ink);
  background: var(--paper);
}

.path-result { text-align: left; }
.path-result > p:not(.folio) { color: rgba(244, 237, 222, 0.66); font: 300 19px/1.5 var(--serif); }

.assembled-path {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(244, 237, 222, 0.2);
  border: 1px solid rgba(244, 237, 222, 0.2);
}

.path-stop {
  min-height: 230px;
  padding: 26px;
  color: var(--paper-light);
  background: #202923;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.path-stop span { color: #cf765b; font: 400 8px/1 var(--mono); text-transform: uppercase; }
.path-stop strong { margin: 45px 0 12px; font: 300 27px/1 var(--serif); }
.path-stop small { color: rgba(244, 237, 222, 0.55); font: 300 14px/1.35 var(--serif); }
.path-stop button { margin-top: auto; border: 0; padding: 0; color: #cf765b; background: transparent; font: 400 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }

.path-reset {
  margin-top: 24px;
  border: 0;
  padding: 0;
  color: rgba(244, 237, 222, 0.6);
  background: transparent;
  font: 400 8px/1 var(--mono);
  text-transform: uppercase;
  cursor: pointer;
}

.installation-dialog {
  width: min(1250px, calc(100% - 20px));
  max-height: calc(100svh - 20px);
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.installation-shell { padding: clamp(35px, 6vw, 86px); }

.installation-cover {
  min-height: 540px;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
  color: var(--paper-light);
  background:
    radial-gradient(circle at 76% 30%, transparent 0 13%, rgba(177, 217, 175, 0.24) 13.2% 13.4%, transparent 13.6% 22%, rgba(177, 217, 175, 0.1) 22.2% 22.4%, transparent 22.6%),
    linear-gradient(90deg, rgba(244, 237, 222, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(244, 237, 222, 0.04) 1px, transparent 1px),
    #121915;
  background-size: auto, 72px 72px, 72px 72px, auto;
  position: relative;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
}

.installation-cover::after {
  content: "OBSERVATION IN PROGRESS";
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 11px;
  border: 1px solid rgba(180, 218, 178, 0.45);
  color: rgba(197, 230, 195, 0.82);
  background: rgba(8, 15, 10, 0.5);
  font: 400 7px/1 var(--mono);
  letter-spacing: 0.12em;
}

.installation-cover > p {
  color: #c6dcc3;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.installation-glyph { color: var(--rust); font: 300 52px/1 var(--serif); }

.installation-cover h2 {
  margin: 24px 0;
  font: 300 clamp(70px, 9vw, 124px)/0.79 var(--serif);
  letter-spacing: -0.06em;
}

.installation-cover h2 em { color: #d49a7f; font-weight: 300; }
.installation-cover blockquote { max-width: 520px; margin: 15px 0 0; font: italic 300 21px/1.3 var(--serif); }

.installation-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px 9vw;
}

.installation-grid h3 {
  margin: 20px 0;
  font: 300 clamp(34px, 4vw, 52px)/0.98 var(--serif);
}

.installation-grid article > p:not(.folio),
.sound-study > p:not(.folio) {
  color: var(--ink-soft);
  font: 300 18px/1.55 var(--serif);
}

.sound-study {
  padding: 36px;
  color: var(--paper-light);
  background: var(--ink);
  text-align: center;
}

.sound-study .folio { color: #cf765b; }
.sound-study > p:not(.folio) { color: rgba(244, 237, 222, 0.62); }

.sound-orbit {
  width: 170px;
  height: 170px;
  margin: 20px auto;
  border: 1px solid rgba(244, 237, 222, 0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.sound-orbit span,
.sound-orbit i {
  grid-area: 1 / 1;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(207, 118, 91, 0.6);
  border-radius: 50%;
}

.sound-orbit i { width: 28px; height: 28px; background: rgba(207, 118, 91, 0.22); }
.sound-study.is-playing .sound-orbit span { animation: sound-bloom 4s ease-in-out infinite; }

@keyframes sound-bloom {
  0%, 100% { transform: scale(0.7); opacity: 0.4; }
  50% { transform: scale(1.7); opacity: 1; }
}

.installation-check {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font: 300 17px/1.4 var(--serif);
}

.installation-check input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border-color: var(--line);
}

.installation-check input:checked { background: var(--rust); box-shadow: inset 0 0 0 4px var(--paper-light); }

.installation-response label { display: block; margin-bottom: 10px; font: italic 300 18px/1.3 var(--serif); }
.installation-response textarea { color: var(--ink); border-color: var(--line); background: var(--paper); }
.installation-response .primary-button { margin-top: 12px; }

.installation-lines { margin-top: 28px; display: grid; gap: 8px; }
.installation-line { padding: 13px; border-left: 1px solid var(--rust); background: rgba(164, 71, 46, 0.05); font: italic 300 15px/1.35 var(--serif); }

.installation-archive {
  width: 100%;
  min-height: auto;
  margin: 80px 0 0;
  padding: 24px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.installation-archive button {
  justify-self: center;
  border: 0;
  color: var(--rust);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.secret-dialog {
  width: min(620px, calc(100% - 30px));
  color: var(--paper-light);
  background: var(--rust-deep);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.secret-shell {
  min-height: 550px;
  padding: 70px 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(244, 237, 222, 0.22);
  margin: 12px;
}

.secret-shell .folio { color: rgba(244, 237, 222, 0.55); }
.secret-shell > span { margin: 20px; font: 300 48px/1 var(--serif); }
.secret-poem { font: italic 300 clamp(28px, 5vw, 42px)/1.12 var(--serif); }
.secret-shell small { margin-top: 30px; font: 400 8px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }

@media (max-width: 980px) {
  .threshold {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .threshold::before { display: none; }
  .threshold h2 { font-size: clamp(70px, 14vw, 110px); }
  .orientation-card { justify-self: center; }
  .orientation-card.graphic-threshold { width: min(78vw, 560px); }
  .marginalia { display: none; }

  .doorway-tabs { grid-template-columns: repeat(2, 1fr); }
  .doorway-tab:nth-child(2) { border-right: 0; }
  .doorway-tab:nth-child(-n + 2) { border-bottom: 1px solid rgba(244, 237, 222, 0.23); }

  .panel-intro { grid-template-columns: 1fr; gap: 45px; }
  .panel-note { max-width: 680px; }
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 300px; }
  .guide-body { padding-left: 0; }
  .board-layout { grid-template-columns: 1fr; }
  .idea-form { max-width: 600px; }
  .constellation-map { grid-template-columns: 1fr; }
  .constellation-stage { min-height: 600px; }
  .constellation-detail { min-height: 380px; }
  .assembled-path { grid-template-columns: 1fr; }
  .path-stop { min-height: 175px; }
  .installation-grid { grid-template-columns: 1fr; }

  .field-note {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .field-note > *,
  .field-note .folio,
  .field-note h2,
  .field-note > p:not(.folio),
  .field-note .text-button { grid-column: 1; grid-row: auto; }
  .field-note .text-button { margin-left: 24px; }
}

@media (max-width: 680px) {
  .site-header,
  .threshold,
  .field-note,
  footer {
    width: min(100% - 34px, 1420px);
  }

  .site-header { min-height: 76px; }
  .site-header .text-link { display: none; }
  .site-header .installation-trigger { display: none; }
  .site-header nav { gap: 12px; }
  .wordmark small { display: none; }
  kbd { display: none; }

  .threshold { padding: 76px 4px 150px; }
  .threshold h2 { font-size: clamp(57px, 18vw, 84px); }
  .lede,
  .entry-actions { margin-left: 0; }
  .entry-actions { align-items: stretch; flex-direction: column; }
  .entry-actions button { width: 100%; }
  .orientation-card { padding: 28px; min-height: 450px; }
  .orientation-card.graphic-threshold {
    width: 100%;
    min-height: 590px;
    padding: 0;
  }
  .graphic-threshold > img { height: 590px; }
  .graphic-threshold-label {
    left: 12px;
    right: 12px;
    bottom: -88px;
    padding: 23px;
  }
  .graphic-threshold-label blockquote { font-size: 21px; }
  .orbit-map { transform: scale(0.86); }

  .archive { padding-left: 17px; padding-right: 17px; }
  .archive-heading { align-items: start; flex-direction: column; }
  .progress-slip { align-self: flex-end; }
  .archive-machine {
    height: 430px;
    margin-top: 45px;
  }
  .archive-machine > img { object-position: 57% center; }
  .machine-era { top: 18px; }
  .machine-era-past { left: 16px; }
  .machine-era-future { right: 16px; }
  .machine-action {
    width: calc(100% - 32px);
    bottom: 18px;
    justify-content: space-between;
  }
  .doorway-tabs { margin-top: 50px; }
  .doorway-tab { min-height: 105px; padding: 18px 14px; font-size: 16px; }
  .doorway-tab::after { left: 14px; right: 14px; }
  .archive-panel { padding-top: 55px; }

  .perspective-grid { display: block; }
  .perspective-card { width: 100%; margin-bottom: 14px; min-height: 270px; }
  .panel-intro h3 { font-size: 46px; }
  .panel-note { padding-top: 0; }
  .evidence-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .constellation-stage { min-height: 510px; }
  .constellation-node { width: 76px; font-size: 12px; }
  .constellation-secret { width: 38px; height: 38px; }
  .constellation-detail { margin: 0; padding: 30px 24px; }

  .journey-card { min-height: 330px; }
  .player-head { align-items: flex-start; }
  .player-body { margin: 50px auto; }
  .player-actions { flex-direction: column-reverse; align-items: stretch; }
  .player-actions .primary-button,
  .player-actions .secondary-button { width: 100%; }
  .branch-choice-grid { grid-template-columns: 1fr; }
  .artifact-maker { grid-template-columns: 1fr; }

  .guide-summary { grid-template-columns: 40px 1fr 24px; gap: 12px; }
  .guide-duration { display: none; }
  .guide-body { grid-template-columns: 1fr; gap: 30px; }
  .idea-board { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer > span { order: 2; }

  .field-note { min-height: 700px; padding: 100px 12px; }
  .field-note h2 { font-size: 52px; }
  .field-note > p:not(.folio) { font-size: 21px; }

  footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .path-shell { min-height: 650px; padding: 70px 20px 35px; }
  .feeling-grid { grid-template-columns: 1fr; }
  .feeling-grid button { min-height: 82px; font-size: 17px; }
  .path-question h2, .path-result h2 { font-size: 49px; }
  .installation-shell { padding: 65px 18px 30px; }
  .installation-cover { min-height: 470px; padding: 30px 16px; }
  .installation-cover h2 { font-size: 65px; }
  .installation-grid { gap: 55px; }
  .installation-archive { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .installation-archive button { justify-self: center; }
  .secret-shell { min-height: 490px; padding: 55px 25px; }
}

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

/* A clearer entrance and a single visual anchor */

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.section-nav {
  width: min(1420px, calc(100% - 64px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: sticky;
  top: 0;
  z-index: 18;
  border-bottom: 1px solid var(--line);
  background: rgba(233, 224, 207, 0.94);
  backdrop-filter: blur(16px);
}

.section-nav-button {
  min-width: 0;
  padding: 14px 18px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.section-nav-button:last-child { border-right: 0; }

.section-nav-button span {
  font: 500 15px/1.2 var(--serif);
}

.section-nav-button small {
  color: rgba(77, 85, 77, 0.72);
  font: 400 11px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-nav-button:hover,
.section-nav-button.is-active {
  color: var(--rust-deep);
  background: rgba(164, 71, 46, 0.07);
}

.section-nav-button.is-active small { color: var(--rust); }

.room-guide { width: min(1420px, calc(100% - 64px)); margin: 0 auto; padding: clamp(38px, 6vw, 78px) 0 65px; scroll-margin-top: 84px; }
.room-guide-heading { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 42px; }
.room-guide-heading h1 { margin: 16px 0 18px; font: 300 clamp(3.6rem, 7vw, 6.8rem)/.9 var(--serif); letter-spacing: -.05em; }
.room-guide-heading h1 em { font-weight: 300; color: var(--rust); }
.room-guide-heading > div:first-child > p:last-child { max-width: 600px; font: 300 1.15rem/1.55 var(--serif); }
.room-guide-group { padding: 26px 0 37px; border-top: 1px solid var(--line); }
.room-guide-group-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 18px; }
.room-guide-group-heading h2 { margin: 0; font: 300 clamp(1.8rem, 3vw, 2.5rem)/1.15 var(--serif); }
.room-guide-group-heading p { max-width: 460px; margin: 0; color: var(--ink-soft); font: 400 1rem/1.45 var(--serif); }
.room-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.room-guide-card { box-sizing: border-box; min-width: 0; min-height: 150px; padding: 19px 22px; display: flex; flex-direction: column; align-items: start; gap: 9px; border: 1px solid var(--line); border-radius: 0; background: #f2eadc; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
.room-guide-card:hover, .room-guide-card:focus-visible { border-color: var(--rust); background: #faf5e9; transform: translateY(-2px); }
.room-guide-card span { color: var(--rust-deep); font: 500 .76rem/1.3 var(--mono); letter-spacing: .03em; }
.room-guide-card strong { font: 400 1.36rem/1.18 var(--serif); }
.room-guide-card small { color: var(--ink-soft); font: 400 .98rem/1.4 var(--serif); }
.room-guide-card[hidden], .room-guide-group[hidden] { display: none; }
.interactive-rooms-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: end; padding: 70px 0 25px; border-bottom: 1px solid var(--line); }
.interactive-rooms-intro h3 { margin: 10px 0 0; font: 300 clamp(2rem, 4vw, 3.4rem)/1.1 var(--serif); }
.interactive-rooms-intro > p { font: 400 1.06rem/1.5 var(--serif); }
.interactive-rooms-intro a, .works-cabinet .section-ledger-head a { color: var(--rust-deep); }
section[id], div[id="works-shelf"] { scroll-margin-top: 84px; }
@media (max-width: 980px) { .room-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .room-guide { width: min(100% - 34px, 1420px); padding-top: 35px; }
  .room-guide-heading, .interactive-rooms-intro { grid-template-columns: 1fr; gap: 18px; }
  .section-nav-button { min-width: 140px; }
  .site-header .room-guide-header-link { display: inline-flex; }
  .room-guide-heading h1 { font-size: clamp(3.5rem, 14vw, 5rem); }
}
@media (max-width: 560px) { .room-guide-grid { grid-template-columns: 1fr; } .room-guide-card { min-height: 120px; } }
@media (max-width: 680px) { .site-header .sound-bath-trigger, .site-header #open-trace { display: none; } }

.threshold {
  min-height: auto;
  padding: clamp(70px, 8vw, 118px) 4vw clamp(80px, 9vw, 130px);
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: clamp(55px, 7vw, 105px);
}

.threshold::before { left: 53%; }

.threshold h2 {
  max-width: 760px;
  font-size: clamp(68px, 7.4vw, 116px);
  line-height: 0.86;
}

.lede,
.entry-actions {
  margin-left: 0;
}

.lede {
  max-width: 620px;
  margin-top: 38px;
  font-size: clamp(17px, 1.35vw, 20px);
}

.visit-flow {
  max-width: 650px;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.visit-flow li {
  min-height: 112px;
  padding: 18px 18px 12px 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  border-right: 1px solid var(--line);
}

.visit-flow li + li { padding-left: 18px; }
.visit-flow li:last-child { border-right: 0; }

.visit-flow span {
  color: var(--rust);
  font: 500 10px/1.4 var(--mono);
}

.visit-flow p {
  margin: 0;
  color: var(--ink-soft);
  font: 400 14px/1.45 var(--serif);
}

.visit-flow strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 500;
}

.start-map {
  min-height: 620px;
  padding: clamp(30px, 4vw, 52px);
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(182, 222, 180, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(182, 222, 180, 0.035) 1px, transparent 1px),
    #17201b;
  background-size: 48px 48px, 48px 48px, auto;
  border: 1px solid rgba(31, 41, 37, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.start-map::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -175px;
  top: -165px;
  border: 1px solid rgba(177, 217, 175, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(177, 217, 175, 0.025), 0 0 0 96px rgba(177, 217, 175, 0.02);
  pointer-events: none;
}

.start-map-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.start-map .orientation-number {
  color: #9cc79b;
  font-size: 10px;
}

.start-map h2 {
  margin: 0;
  font: 300 clamp(42px, 4.2vw, 62px)/0.95 var(--serif);
  letter-spacing: -0.035em;
}

.start-map .orientation-meta {
  min-width: 92px;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  border: 0;
  color: rgba(244, 237, 222, 0.52);
  text-align: right;
}

.start-map .orientation-meta b { color: #b7d8b5; }

.intention-list {
  margin-top: 38px;
  border-top: 1px solid rgba(244, 237, 222, 0.2);
}

.intention {
  width: 100%;
  min-height: 96px;
  padding: 17px 3px;
  display: grid;
  grid-template-columns: 34px minmax(140px, 0.9fr) minmax(165px, 1.25fr) 22px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(244, 237, 222, 0.16);
  color: var(--paper-light);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.intention > span {
  color: #9cc79b;
  font: 500 10px/1 var(--mono);
}

.intention strong {
  font: 400 19px/1.15 var(--serif);
}

.intention small {
  color: rgba(244, 237, 222, 0.58);
  font: 400 13px/1.45 var(--sans);
}

.intention i {
  color: #9cc79b;
  font: normal 400 15px/1 var(--mono);
}

.intention:hover {
  padding-left: 12px;
  color: #d8ead7;
  background: rgba(156, 199, 155, 0.08);
}

.start-map .installation-ticket {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(156, 199, 155, 0.32);
  color: var(--paper-light);
  background: rgba(156, 199, 155, 0.04);
}

.start-map .installation-ticket span,
.start-map .installation-ticket i { color: #9cc79b; }

.start-map .secret-door-indicator {
  color: #b7d8b5;
  border-color: rgba(156, 199, 155, 0.4);
}

.archive-description {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(244, 237, 222, 0.62);
  font: 300 18px/1.55 var(--serif);
}

.archive { scroll-margin-top: 68px; }

.archive .doorway-tabs { margin-top: 56px; }

.doorway-tab small { font-size: 11px; }

.archive-panel > .archive-machine {
  height: clamp(340px, 40vw, 560px);
  margin: 0 0 clamp(65px, 8vw, 110px);
}

.archive-panel > .archive-machine + .panel-intro { margin-top: 0; }

.installation-cover {
  min-height: 450px;
  justify-content: center;
  padding: clamp(35px, 5vw, 64px);
}

.installation-cover::before {
  content: "VOLUME 01";
  position: absolute;
  right: clamp(20px, 6vw, 80px);
  bottom: clamp(18px, 5vw, 55px);
  color: rgba(180, 218, 178, 0.16);
  font: 300 clamp(58px, 11vw, 145px)/0.75 var(--serif);
  letter-spacing: -0.06em;
}

.installation-cover > * { position: relative; z-index: 1; }

@media (max-width: 980px) {
  .threshold {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .threshold h2 { font-size: clamp(68px, 13vw, 104px); }
  .start-map { width: 100%; min-height: auto; }
  .visit-flow { max-width: 100%; }
}

@media (max-width: 760px) {
  .site-header,
  .section-nav,
  .threshold {
    width: min(100% - 34px, 1420px);
  }

  .section-nav {
    min-height: 62px;
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .section-nav::-webkit-scrollbar { display: none; }

  .section-nav-button {
    min-width: 154px;
    padding: 12px 14px;
  }

  .threshold { padding: 58px 0 78px; }
  .threshold h2 { font-size: clamp(56px, 16vw, 82px); }
  .lede { padding-left: 16px; }

  .visit-flow { grid-template-columns: 1fr; }
  .visit-flow li,
  .visit-flow li + li {
    min-height: auto;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .start-map { padding: 30px 20px; }
  .start-map-head { align-items: end; }

  .intention {
    min-height: 118px;
    grid-template-columns: 30px 1fr 20px;
    gap: 8px;
  }

  .intention strong { font-size: 18px; }
  .intention small { grid-column: 2 / 4; font-size: 13px; }

  .archive-heading { align-items: flex-start; }
  .archive-description { font-size: 17px; }
  .archive .doorway-tabs { margin-top: 40px; }

  .archive-panel > .archive-machine {
    height: 360px;
    margin-bottom: 70px;
  }

  .installation-cover { min-height: 390px; }
  .installation-cover h2 { font-size: clamp(54px, 17vw, 76px); }
}

/* The Vault and its weekly return ritual */

.vault-return {
  margin-top: 66px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  border: 1px solid rgba(244, 237, 222, 0.23);
  background:
    radial-gradient(circle at 82% 18%, rgba(156, 199, 155, 0.1), transparent 24%),
    #17201b;
}

.vault-question {
  min-height: 400px;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid rgba(244, 237, 222, 0.2);
}

.vault-question-meta {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
}

.vault-question-meta .folio { margin-bottom: 0; }

.vault-question-meta > span {
  flex: 0 0 auto;
  color: rgba(244, 237, 222, 0.52);
  font: 400 11px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vault-question h4 {
  max-width: 840px;
  margin: 68px 0 22px;
  color: var(--paper-light);
  font: 300 clamp(40px, 5vw, 72px)/0.98 var(--serif);
  letter-spacing: -0.04em;
}

.vault-question > p {
  max-width: 660px;
  margin: 0;
  color: rgba(244, 237, 222, 0.64);
  font: 300 18px/1.55 var(--serif);
}

.vault-question .secondary-button {
  margin-top: 34px;
  border-color: rgba(183, 216, 181, 0.58);
  color: #d7ead6;
}

.vault-question .secondary-button:hover {
  color: #17201b;
  background: #b7d8b5;
  border-color: #b7d8b5;
}

.vault-ledger {
  padding: clamp(30px, 4vw, 48px);
  color: var(--ink);
  background: var(--paper);
}

.vault-ledger > div {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: end;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.vault-ledger > div strong {
  color: var(--rust);
  font: 300 58px/0.8 var(--serif);
}

.vault-ledger > div span {
  color: var(--ink-soft);
  font: 500 11px/1.35 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vault-ledger > p:last-child {
  margin: 34px 0 0;
  color: var(--ink-soft);
  font: italic 300 18px/1.4 var(--serif);
}

/* A quiet side cabinet for supporting the work */

.support-rail {
  position: fixed;
  z-index: 30;
  right: 0;
  top: 50%;
  min-height: 190px;
  padding: 18px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(156, 199, 155, 0.48);
  border-right: 0;
  color: #d8ead7;
  background: rgba(18, 27, 22, 0.94);
  box-shadow: -8px 12px 36px rgba(0, 0, 0, 0.24);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  backdrop-filter: blur(12px);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.support-rail:hover {
  padding-left: 16px;
  color: #17201b;
  background: #b7d8b5;
}

.support-rail i { font-style: normal; }

.support-drawer {
  width: min(500px, calc(100% - 18px));
  max-width: none;
  height: 100svh;
  max-height: 100svh;
  margin: 0 0 0 auto;
  color: var(--paper-light);
  background:
    linear-gradient(90deg, rgba(183, 216, 181, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(183, 216, 181, 0.035) 1px, transparent 1px),
    #17201b;
  background-size: 48px 48px, 48px 48px, auto;
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.36);
}

.support-drawer[open] { animation: slide-in 260ms ease; }

.support-drawer .support-close {
  margin: 18px 18px 0 0;
  border-color: rgba(244, 237, 222, 0.5);
  color: var(--paper-light);
  background: #17201b;
}

.support-shell {
  min-height: 100%;
  padding: clamp(80px, 15vh, 150px) clamp(30px, 6vw, 64px) 55px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.support-mark {
  width: 72px;
  height: 72px;
  margin: 30px 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 216, 181, 0.52);
  border-radius: 50%;
  color: #b7d8b5;
  font: italic 42px/1 var(--serif);
  transform: rotate(-8deg);
}

.support-shell h2 {
  max-width: 390px;
  margin: 0;
  font: 300 clamp(48px, 7vw, 72px)/0.92 var(--serif);
  letter-spacing: -0.045em;
}

.support-shell h2 em { color: #b7d8b5; font-weight: 300; }

.support-shell > p:not(.folio) {
  max-width: 380px;
  margin: 30px 0 0;
  color: rgba(244, 237, 222, 0.66);
  font: 300 19px/1.55 var(--serif);
}

.support-shell ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: rgba(244, 237, 222, 0.72);
  font: 400 13px/1.4 var(--mono);
  letter-spacing: 0.03em;
  list-style: none;
}

.support-shell li::before {
  content: "◇";
  margin-right: 10px;
  color: #b7d8b5;
}

.support-link {
  margin-top: 42px;
  color: #17201b;
  background: #b7d8b5;
  border-color: #b7d8b5;
  text-decoration: none;
}

.support-shell > small {
  margin-top: 14px;
  color: rgba(244, 237, 222, 0.48);
  font: 400 11px/1.4 var(--mono);
}

@media (max-width: 980px) {
  .vault-return { grid-template-columns: 1fr; }
  .vault-question { border-right: 0; border-bottom: 1px solid rgba(244, 237, 222, 0.2); }
  .vault-ledger { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
  .vault-ledger .folio,
  .vault-ledger > p:last-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .vault-return { margin-top: 46px; }
  .vault-question { min-height: auto; padding: 32px 22px; }
  .vault-question-meta { display: grid; }
  .vault-question h4 { margin-top: 45px; font-size: 43px; }
  .vault-question > p { font-size: 17px; }
  .vault-question .secondary-button { width: 100%; }
  .vault-ledger { padding: 30px 22px; grid-template-columns: 1fr; }
  .vault-ledger .folio,
  .vault-ledger > p:last-child { grid-column: auto; }

  .support-rail {
    top: auto;
    right: 14px;
    bottom: 14px;
    min-height: 0;
    padding: 14px 16px;
    writing-mode: horizontal-tb;
    transform: none;
    border-right: 1px solid rgba(156, 199, 155, 0.48);
    border-radius: 999px;
  }

  .support-rail:hover { padding-left: 16px; }
  .support-drawer { width: 100%; }
  .support-shell { padding: 86px 28px 40px; }
}

/* The living desk, field record, installations, and reader economy */

.today-desk {
  width: min(1420px, calc(100% - 64px));
  margin: 42px auto 0;
  padding: clamp(30px, 4.5vw, 60px);
  color: var(--paper-light);
  background:
    radial-gradient(circle at 88% 0%, rgba(183, 216, 181, 0.1), transparent 25%),
    linear-gradient(90deg, rgba(183, 216, 181, 0.035) 1px, transparent 1px),
    #17201b;
  background-size: auto, 54px 54px, auto;
  border: 1px solid rgba(31, 41, 37, 0.35);
  box-shadow: var(--shadow);
  scroll-margin-top: 85px;
}

.today-desk-head,
.section-ledger-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.today-desk .eyebrow { color: #b7d8b5; }

.today-desk h2,
.section-ledger-head h2,
.works-cabinet h2,
.return-letter h2 {
  margin: 0;
  font: 300 clamp(44px, 5.8vw, 82px)/0.94 var(--serif);
  letter-spacing: -0.045em;
}

.today-desk h2 em,
.return-letter h2 em { color: #b7d8b5; font-weight: 300; }

.today-date {
  padding: 16px 0 4px 20px;
  display: grid;
  gap: 8px;
  border-left: 1px solid rgba(183, 216, 181, 0.35);
  color: #b7d8b5;
  font: 400 14px/1.35 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.today-date small { color: rgba(244, 237, 222, 0.58); font-size: 12px; }

.today-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 237, 222, 0.2);
  border-bottom: 1px solid rgba(244, 237, 222, 0.2);
}

.today-card {
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-right: 1px solid rgba(244, 237, 222, 0.18);
  color: var(--paper-light);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.today-card:last-child { border-right: 0; }
.today-card:hover { background: rgba(183, 216, 181, 0.07); transform: translateY(-3px); }
.today-card > span { color: #b7d8b5; font: 500 12px/1.35 var(--mono); letter-spacing: 0.08em; }
.today-card strong { margin: 34px 0 12px; font: 300 25px/1.08 var(--serif); }
.today-card small { color: rgba(244, 237, 222, 0.58); font: 400 14px/1.45 var(--sans); }
.today-card i { margin-top: auto; padding-top: 20px; color: #b7d8b5; font-style: normal; }

.featured-fragment {
  margin-top: 28px;
  padding: 23px 0 0;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 24px;
  align-items: center;
}

.featured-fragment > span { color: #b7d8b5; font: 500 12px/1.35 var(--mono); letter-spacing: 0.08em; }
.featured-fragment blockquote { margin: 0; font: italic 300 20px/1.35 var(--serif); }
.featured-fragment small { color: rgba(244, 237, 222, 0.55); font: 400 12px/1.4 var(--mono); }
.featured-fragment .text-button { grid-column: 2; justify-self: start; color: #b7d8b5; }

.progress-slip {
  border: 0;
  text-align: left;
  cursor: pointer;
}

.progress-slip small {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font: 500 12px/1.2 var(--mono);
  text-transform: uppercase;
}

.next-doors {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-doors > small { color: var(--rust); font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; }
.next-doors > div { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); }
.next-doors button {
  min-height: 112px;
  padding: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-right: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.next-doors button:last-child { border-right: 1px solid var(--line); }
.next-doors button:hover { background: rgba(164, 71, 46, 0.06); }
.next-doors button span { color: var(--rust); font: 500 12px/1.2 var(--mono); text-transform: uppercase; }
.next-doors button strong { font: 400 16px/1.25 var(--serif); }
.compact-next-doors { grid-column: 1 / -1; }
.journey-next-doors { max-width: 980px; margin: 50px auto 0; }

.feature-consent {
  margin-top: 20px;
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}
.feature-consent input { width: 18px; height: 18px; padding: 0; accent-color: var(--rust); }
.feature-consent span { margin: 0 !important; color: var(--ink-soft) !important; font: 400 14px/1.45 var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
.vault-care-note { margin: 12px 0 0; color: rgba(244, 237, 222, 0.58); font: 400 14px/1.5 var(--sans); }
.report-button { border: 0; padding: 0; color: var(--ink-soft); background: transparent; font: inherit; cursor: pointer; }
.report-button:disabled { cursor: default; opacity: 0.65; }
.vault-origin.is-featured { color: var(--gold); border-color: rgba(181, 143, 77, 0.4); }

.installation-index,
.works-cabinet {
  width: min(1420px, calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(85px, 10vw, 150px) 0;
}
.section-ledger-head > p { max-width: 520px; margin: 0; color: var(--ink-soft); font: 300 18px/1.55 var(--serif); }
.volume-shelf { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.volume-card {
  min-height: 370px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: rgba(244, 237, 222, 0.35);
  text-align: left;
  cursor: pointer;
}
.volume-card:last-child { border-right: 0; }
.volume-card.is-current { color: var(--paper-light); background: #17201b; }
.volume-card > span { color: var(--rust); font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; }
.volume-card.is-current > span { color: #b7d8b5; }
.volume-card strong { margin-top: 70px; font: 300 clamp(30px, 3vw, 45px)/0.98 var(--serif); }
.volume-card blockquote { margin: 20px 0; color: currentColor; opacity: 0.7; font: italic 300 18px/1.4 var(--serif); }
.volume-card small,
.volume-card a { margin-top: auto; color: var(--rust); font: 500 12px/1.35 var(--mono); text-transform: uppercase; text-decoration: none; }
.volume-card.is-current small { color: #b7d8b5; }
.volume-next { cursor: default; }

.installation-grid #installation-copy p { color: var(--ink-soft); font: 300 18px/1.55 var(--serif); }
.sound-transcript { margin-top: 24px; color: rgba(244, 237, 222, 0.62); text-align: left; font: 400 14px/1.5 var(--sans); }
.sound-transcript summary { color: #b7d8b5; cursor: pointer; font-family: var(--mono); text-transform: uppercase; }
.installation-archive > div { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

.works-cabinet {
  color: var(--paper-light);
  background: #17201b;
  box-shadow: 0 0 0 100vmax #17201b;
  clip-path: inset(0 -100vmax);
}
.works-cabinet .section-ledger-head > p { color: rgba(244, 237, 222, 0.66); }
.works-overview { margin-top: 52px; padding: 34px 0; display: grid; grid-template-columns: .65fr 1.5fr auto; align-items: center; gap: 38px; border-top: 1px solid rgba(244, 237, 222, 0.2); border-bottom: 1px solid rgba(244, 237, 222, 0.2); }
.works-overview > div { display: flex; align-items: center; gap: 18px; }
.works-overview strong { color: #b7d8b5; font: 300 72px/.8 var(--serif); }
.works-overview span { max-width: 155px; color: rgba(244, 237, 222, .6); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.works-overview > p { max-width: 610px; margin: 0; color: rgba(244, 237, 222, .76); font: 300 20px/1.5 var(--serif); }
.works-overview > a { color: #b7d8b5; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.works-shelf { margin-top: 82px; display: grid; gap: 44px; }
.deck-room { margin-top: 76px; padding: clamp(28px, 5vw, 70px); display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); border: 1px solid rgba(244, 237, 222, .3); background: #1d2826; color: #f4edde; }
.deck-room-intro h3 { margin: 24px 0; font: 300 clamp(40px, 5vw, 72px)/.98 var(--serif); }
.deck-room-intro h3 em { color: #b7d8b5; font-weight: 300; }
.deck-room-intro > p:last-child { max-width: 490px; font: 300 20px/1.5 var(--serif); color: rgba(244, 237, 222, .78); }
.deck-card { min-height: 390px; padding: clamp(26px, 4vw, 50px); display: flex; flex-direction: column; border: 1px solid #a6a28e; background: #e9e0cf; color: #262b27; box-shadow: 10px 12px 0 rgba(0, 0, 0, .18); }
.deck-card-head { display: flex; justify-content: space-between; gap: 20px; color: #765c46; font: 500 12px/1.4 var(--mono); letter-spacing: .09em; }
.deck-card p { margin: auto 0; font: 300 clamp(28px, 3vw, 46px)/1.13 var(--serif); }
.deck-card > span { color: #765c46; font: 500 12px/1.4 var(--mono); letter-spacing: .09em; }
.deck-controls { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.deck-controls button { min-height: 44px; }
.deck-controls button:disabled { opacity: .4; cursor: not-allowed; }
.deck-status { min-height: 24px; margin: 18px 0 22px; color: #cbd8c6; font: 400 14px/1.5 var(--sans); }
.deck-access label, .deck-reflection { display: block; margin-bottom: 10px; font: 500 14px/1.4 var(--sans); }
.deck-access > div { display: flex; gap: 10px; flex-wrap: wrap; }
.deck-access input, .deck-reflection + textarea { padding: 12px 14px; border: 1px solid rgba(244, 237, 222, .45); background: rgba(255, 255, 255, .06); color: #f4edde; font: 400 16px/1.4 var(--sans); }
.deck-access input { flex: 1 1 180px; min-width: 0; }
.deck-purchase { display: inline-block; margin: 16px 0 30px; color: #b7d8b5; font: 500 14px/1.4 var(--sans); }
.deck-purchase-help { margin: 18px 0 0; color: #d9e3d4; font: 400 14px/1.5 var(--sans); }
.deck-reflection small { display: block; margin-top: 4px; color: rgba(244, 237, 222, .58); font-weight: 400; }
.deck-reflection + textarea { width: 100%; resize: vertical; }
.deck-room .secondary-button { color: #f4edde; border-color: rgba(244, 237, 222, .55); }
.deck-access[hidden] { display: none; }
.deck-reading[hidden], .deck-spread[hidden] { display: none; }
.deck-illustration { width: 100%; aspect-ratio: 2 / 3; background-image: url("./assets/consciousness-atlas.webp"); background-size: 600% 400%; background-repeat: no-repeat; background-color: #14221f; border: 1px solid #b6ac85; }
.deck-card .deck-illustration { width: min(100%, 260px); flex-shrink: 0; align-self: center; margin: 24px 0; }
.deck-card > p { padding: 12px 0 24px; }
.deck-spread-card .deck-illustration { width: min(100%, 220px); margin: 20px auto 0; }
.deck-answer-label { display: block; margin: 20px 0 8px; font: 500 14px/1.4 var(--sans); }
.deck-spread-card textarea { width: 100%; min-width: 0; resize: vertical; padding: 12px; background: #fffaf0; color: #23322e; border: 1px solid #776d5f; font: 400 16px/1.5 var(--sans); }
.deck-response-form { margin-top: 28px; }
.deck-response-form > p { font: 400 14px/1.5 var(--sans); color: #c9dbd2; }
.deck-response-result { margin-top: 28px; padding: clamp(18px, 3vw, 28px); border: 1px solid #bcd9c8; background: #f0e7d8; color: #26332f; overflow-wrap: anywhere; }
.deck-response-result[hidden] { display: none; }
.deck-response-result h4 { margin: 0 0 22px; font: 300 34px/1.1 var(--serif); }
.deck-response-result h5 { margin: 20px 0 14px; font: 500 16px/1.4 var(--sans); }
.deck-response-result p { font: 400 17px/1.55 var(--serif); }
.deck-response-result blockquote { margin: 14px 0; padding: 10px 16px; border-left: 2px solid #82725e; white-space: pre-wrap; font: italic 400 19px/1.45 var(--serif); }
.deck-response-result section { padding: 12px 0; border-bottom: 1px solid #80766655; }
.deck-response-result .deck-response-prompt { font-style: italic; }
.deck-reading { margin: 28px 0 34px; padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(176, 220, 208, .45); background: radial-gradient(circle at 90% 5%, #927bb92b, transparent 38%), #14221f; }
.deck-reading-form { display: grid; gap: 12px; }
.deck-reading-form .folio { margin: 0 0 8px; color: #c6dace; }
.deck-reading-form label { font: 500 15px/1.5 var(--sans); }
.deck-reading-form label small { display: block; color: #bdd1c7; font-weight: 400; }
.deck-reading-form select, .deck-reading-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #b8d2c58c; border-radius: 0; background: #f0e8da; color: #1d2826; font: 400 16px/1.45 var(--sans); }
.deck-reading-form button { justify-self: start; margin: 8px 0 0; }
.deck-spread { margin-top: 30px; padding-top: 26px; border-top: 1px solid #c7dbc65e; }
.deck-reading-opening { margin: 0 0 24px; font: 300 clamp(20px, 2.4vw, 28px)/1.35 var(--serif); color: #f2e9d9; }
.deck-spread-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.deck-spread-card { min-width: 0; padding: 20px; border: 1px solid #d8cfae; background: linear-gradient(150deg, #f3e8d4, #dfd6cc 70%, #d9e8df); color: #23322e; box-shadow: 0 0 0 3px #9fe2d71c, 0 12px 24px #0004; }
.deck-spread-card > span { color: #735a51; font: 500 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.deck-spread-card h4 { margin: 24px 0 12px; font: 300 clamp(25px, 2.5vw, 36px)/1.04 var(--serif); }
.deck-spread-card p { font: 300 18px/1.38 var(--serif); }
.deck-spread-card .deck-spread-meaning { padding-top: 15px; border-top: 1px solid #736c5e66; font: 400 14px/1.55 var(--sans); }
.deck-spread-card .deck-spread-question { margin-bottom: 0; font: italic 400 18px/1.4 var(--serif); color: #655042; }
@media (prefers-reduced-motion: no-preference) {
  .deck-spread-card { animation: reading-reveal .7s ease both; animation-delay: var(--card-delay, 0ms); }
  @keyframes reading-reveal { from { opacity: 0; transform: translateY(18px) rotateY(12deg); } to { opacity: 1; transform: none; } }
}
.deck-synthesis { margin-top: 24px; padding: 22px; border-left: 2px solid #b4e8d7; background: #ffffff0a; }
.deck-synthesis h4 { margin: 0 0 12px; font: 300 29px/1.1 var(--serif); }
.deck-synthesis p { font: 300 18px/1.5 var(--serif); }
.deck-synthesis small { color: #c8d9d0; font: 400 13px/1.5 var(--sans); }
@media (max-width: 1500px) { .deck-spread-cards { grid-template-columns: 1fr; } .deck-spread-card h4 { margin-top: 12px; } }
.symbol-dictionary { margin-top: 34px; padding: clamp(28px, 5vw, 70px); border: 1px solid rgba(244,237,222,.3); background: #302b29; color: #f4edde; }
.symbol-header { max-width: 760px; }
.symbol-header h3 { margin: 20px 0; font: 300 clamp(40px, 5vw, 72px)/.98 var(--serif); }
.symbol-header h3 em { color: #e4bf9d; font-weight: 300; }
.symbol-header > p:last-child { font: 300 20px/1.5 var(--serif); color: rgba(244,237,222,.8); }
.symbol-workspace { margin-top: 46px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.symbol-editor, .symbol-collection { padding: clamp(23px, 3.4vw, 44px); min-width: 0; border: 1px solid rgba(244,237,222,.34); }
.symbol-editor { background: #e9e0cf; color: #302b29; }
.symbol-kicker { margin: 0 0 25px; font: 600 12px/1.4 var(--mono); letter-spacing: .1em; }
.symbol-editor label { display: block; margin: 22px 0 8px; font: 500 15px/1.4 var(--sans); }
.symbol-editor label small { display: block; margin-top: 3px; color: #666156; font: 400 13px/1.4 var(--sans); }
.symbol-editor input:not([type="hidden"]), .symbol-editor select, .symbol-editor textarea, .symbol-filter input, .symbol-filter select { display: block; width: 100%; padding: 12px 14px; border: 1px solid #a9a18e; border-radius: 0; background: #fbf7ed; color: #302b29; font: 400 16px/1.45 var(--sans); }
.symbol-editor textarea { resize: vertical; }
.symbol-editor input:focus-visible, .symbol-editor select:focus-visible, .symbol-editor textarea:focus-visible, .symbol-filter input:focus-visible, .symbol-filter select:focus-visible { outline: 2px solid #72513c; outline-offset: 2px; }
.symbol-form-actions, .symbol-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.symbol-message { min-height: 24px; font: 400 14px/1.5 var(--sans); }
.symbol-collection-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.symbol-collection-head h4 { margin: 0; font: 300 32px/1.1 var(--serif); }
.symbol-collection-head > span { font: 500 12px/1.4 var(--mono); white-space: nowrap; }
.symbol-filter { margin: 30px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .45fr); gap: 8px 12px; align-items: end; }
.symbol-filter label { font: 500 14px/1.4 var(--sans); }
.symbol-filter input { grid-column: 1; grid-row: 2; }
.symbol-filter select { grid-column: 2; grid-row: 2; }
.symbol-entries { display: grid; gap: 10px; max-height: 800px; overflow: auto; }
.symbol-empty { padding: 45px 25px; border: 1px dashed rgba(244,237,222,.38); color: rgba(244,237,222,.7); font: 300 22px/1.4 var(--serif); }
.symbol-entry { padding: 22px; border: 1px solid rgba(244,237,222,.35); background: rgba(255,255,255,.035); overflow-wrap: anywhere; }
.symbol-entry > span { color: #e4bf9d; font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.symbol-entry h5 { margin: 11px 0 18px; font: 300 29px/1.12 var(--serif); }
.symbol-entry details { border-top: 1px solid rgba(244,237,222,.25); padding: 10px 0; }
.symbol-entry summary { cursor: pointer; font: 500 14px/1.5 var(--sans); }
.symbol-entry details p { white-space: pre-wrap; font: 400 16px/1.6 var(--serif); }
.symbol-entry-actions { display: flex; gap: 20px; margin-top: 12px; }
.symbol-entry-actions button { padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #e4bf9d; font: 500 14px/1.3 var(--sans); cursor: pointer; }
.symbol-tools .secondary-button, .symbol-form-actions .secondary-button { color: inherit; border-color: currentColor; }
.symbol-import { cursor: pointer; display: inline-flex; align-items: center; }
.symbol-privacy { margin: 20px 0 0; color: rgba(244,237,222,.65); font: 400 14px/1.5 var(--sans); }
.symbol-notes { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; margin-top: 45px; padding-top: 27px; border-top: 1px solid rgba(244,237,222,.35); }
.symbol-notes > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.symbol-notes p:not(.symbol-kicker) { margin: 0; font: 400 16px/1.55 var(--serif); }
.symbol-notes strong { color: #e4bf9d; font-weight: 500; }
.meditation-library { margin-top: 34px; padding: clamp(28px, 5vw, 70px); border: 1px solid rgba(244, 237, 222, .3); background: #242529; color: #f4edde; }
.meditation-heading { max-width: 740px; }
.meditation-coming-soon { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid rgba(244,237,222,.3); color: #c3bcdb; font: 400 15px/1.5 var(--mono); letter-spacing: .06em; }
.meditation-heading h3 { margin: 20px 0; font: 300 clamp(40px, 5vw, 72px)/.98 var(--serif); }
.meditation-heading h3 em { color: #c3bcdb; font-weight: 300; }
.meditation-heading > p:last-child { font: 300 20px/1.5 var(--serif); color: rgba(244, 237, 222, .8); }
.meditation-interface { margin-top: 40px; display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 24px 44px; }
.meditation-states { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.meditation-states button { min-height: 44px; padding: 9px 15px; border: 1px solid rgba(244,237,222,.42); background: transparent; color: #f4edde; font: 500 14px/1.35 var(--sans); cursor: pointer; }
.meditation-states button.selected { background: #e9e0cf; color: #242529; }
.meditation-list { display: grid; align-content: start; gap: 8px; }
.meditation-list button { width: 100%; min-height: 96px; padding: 16px 18px; display: grid; grid-template-columns: 32px 1fr; gap: 3px 14px; text-align: left; border: 1px solid rgba(244,237,222,.3); background: transparent; color: #f4edde; cursor: pointer; }
.meditation-list button.selected { border-color: #c3bcdb; background: rgba(195,188,219,.11); }
.meditation-list span { grid-row: span 2; color: #c3bcdb; font: 500 12px/1.5 var(--mono); }
.meditation-list strong { font: 300 25px/1.15 var(--serif); }
.meditation-list small { color: rgba(244,237,222,.68); font: 400 14px/1.4 var(--sans); }
.meditation-player { padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(244,237,222,.35); background: #e9e0cf; color: #242529; }
.meditation-player > span { color: #655a77; font: 600 12px/1.4 var(--mono); letter-spacing: .1em; }
.meditation-player h4 { margin: 42px 0 12px; font: 300 clamp(36px, 4vw, 60px)/1 var(--serif); }
.meditation-player > p:not(.meditation-disclosure) { font: 300 19px/1.5 var(--serif); }
.meditation-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.meditation-actions button:disabled { opacity: .45; cursor: not-allowed; }
.meditation-voice-controls { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: 400 14px/1.4 var(--sans); }
.meditation-voice-controls label { flex-basis: 100%; font-weight: 500; }
.meditation-voice-controls select { max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #aaa994; background: #faf7ef; color: #242529; font: 400 16px/1.4 var(--sans); }
.meditation-voice-preview { min-height: 44px; padding: 8px 12px; border: 1px solid #aaa994; background: transparent; color: #242529; font: 500 14px/1.4 var(--sans); cursor: pointer; }
.meditation-voice-controls small { flex-basis: 100%; color: #59625a; font: 400 14px/1.4 var(--sans); }
.meditation-status { min-height: 24px; }
.meditation-transcript { padding: 18px 0; border-top: 1px solid #aaa994; border-bottom: 1px solid #aaa994; }
.meditation-transcript summary { cursor: pointer; font: 500 15px/1.4 var(--sans); }
.meditation-transcript div { max-width: 65ch; margin-top: 18px; white-space: pre-wrap; font: 400 17px/1.7 var(--serif); }
.meditation-player .meditation-disclosure { margin: 18px 0 0; color: #59625a; font: 400 14px/1.5 var(--sans); }
.meditation-library button:focus-visible { outline: 2px solid #c3bcdb; outline-offset: 3px; }
.capsule-room { margin-top: 34px; padding: clamp(28px, 5vw, 70px); display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 110px); border: 1px solid rgba(244, 237, 222, .3); background: #e9e0cf; color: #242b27; }
.capsule-intro h3 { margin: 24px 0; font: 300 clamp(40px, 5vw, 72px)/.98 var(--serif); }
.capsule-intro h3 em { color: #667765; font-weight: 300; }
.capsule-intro > p:not(.folio) { max-width: 490px; font: 300 20px/1.5 var(--serif); }
.capsule-intro .capsule-aside { margin-top: 42px; padding-top: 22px; border-top: 1px solid #a9aa99; color: #59625a; }
.capsule-request { padding: clamp(24px, 3vw, 44px); border: 1px solid #9d9f8c; background: #f4edde; }
.capsule-request [hidden] { display: none; }
.capsule-access > button { margin-top: 18px; }
#capsule-lock > p { font: 400 16px/1.55 var(--sans); }
#capsule-access-status:not(:empty) { margin: 16px 0; color: #6d392d; }
#capsule-lock > a { color: #354f40; font: 500 14px/1.5 var(--sans); }
.capsule-number { margin: 0 0 30px; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; }
.capsule-request label { display: block; margin: 24px 0 9px; font: 500 15px/1.4 var(--sans); }
.capsule-request input, .capsule-request textarea { display: block; width: 100%; padding: 13px 15px; border: 1px solid #aaa994; border-radius: 0; background: #faf7ef; color: #242b27; font: 400 16px/1.5 var(--sans); }
.capsule-request textarea { resize: vertical; }
.capsule-request input:focus-visible, .capsule-request textarea:focus-visible { outline: 2px solid #526b58; outline-offset: 2px; }
.capsule-request button { margin-top: 26px; }
.capsule-fine { margin: 20px 0 14px; font: 400 14px/1.55 var(--sans); color: #59625a; }
.capsule-request > a { color: #354f40; font: 500 14px/1.5 var(--sans); }
.ework-card { display: grid; grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr); border: 1px solid rgba(244, 237, 222, 0.2); }
.ework-cover {
  aspect-ratio: 4 / 5;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(244, 237, 222, 0.2);
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-0.4deg);
}
.ework-cover > span,
.ework-cover > small { color: var(--rust); font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; }
.ework-cover strong { max-width: 260px; font: 300 clamp(29px, 4vw, 47px)/0.94 var(--serif); }
.ework-copy { padding: clamp(30px, 5vw, 68px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ework-copy > span { color: #b7d8b5; font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; }
.ework-copy h3 { margin: 24px 0 16px; font: 300 clamp(34px, 4.5vw, 60px)/0.98 var(--serif); }
.ework-copy p { max-width: 680px; margin: 0; color: rgba(244, 237, 222, 0.7); font: 300 18px/1.55 var(--serif); }
.ework-copy > small { max-width: 650px; margin-top: 20px; color: rgba(244, 237, 222, 0.55); font: 400 14px/1.5 var(--sans); }
.ework-copy > div { margin-top: 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ework-copy .secondary-button { color: var(--paper-light); border-color: rgba(244, 237, 222, 0.6); }
.ework-copy .text-link { color: #b7d8b5; }
.works-support { margin-top: 72px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(244, 237, 222, 0.25); }
.support-choice { min-height: 390px; padding: clamp(34px, 5vw, 70px); display: flex; flex-direction: column; align-items: flex-start; }
.support-choice + .support-choice { border-left: 1px solid rgba(244, 237, 222, 0.25); background: rgba(244, 237, 222, .04); }
.support-choice > span { color: #b7d8b5; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; }
.support-choice h3 { max-width: 520px; margin: 36px 0 20px; font: 300 clamp(36px, 4vw, 58px)/.98 var(--serif); }
.support-choice p { max-width: 560px; margin: 0 0 42px; color: rgba(244, 237, 222, .68); font: 300 18px/1.55 var(--serif); }
.support-choice a { margin-top: auto; text-decoration: none; }
.support-choice .primary-button { color: var(--ink); background: #b7d8b5; border-color: #b7d8b5; }
.support-choice .secondary-button { color: var(--paper-light); border-color: rgba(244, 237, 222, .55); }

.return-letter {
  width: min(1120px, calc(100% - 64px));
  margin: clamp(60px, 9vw, 130px) auto;
  padding: clamp(55px, 8vw, 100px);
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(244, 237, 222, 0.46);
}
.return-letter h2 em { color: var(--rust); }
.return-letter > p:not(.folio) { max-width: 670px; margin: 30px auto; color: var(--ink-soft); font: 300 19px/1.55 var(--serif); }
.return-letter .primary-button { text-decoration: none; }
.return-letter > small { display: block; max-width: 650px; margin: 18px auto 0; color: var(--ink-soft); font: 400 12px/1.45 var(--mono); }

.visit-ending { grid-column: 2; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.field-note .visit-ending .text-button { margin: 0; }

.trace-dialog,
.ework-dialog,
.curator-dialog {
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}
.trace-shell,
.ework-shell,
.curator-shell { padding: clamp(55px, 7vw, 90px); }
.trace-shell h2,
.ework-shell h2,
.curator-shell h2 { margin: 18px 0; font: 300 clamp(48px, 7vw, 82px)/0.92 var(--serif); letter-spacing: -0.045em; }
.trace-shell h2 em,
.curator-shell h2 em { color: var(--rust); font-weight: 300; }
.trace-privacy,
.curator-shell > p:not(.folio) { max-width: 680px; color: var(--ink-soft); font: 300 18px/1.5 var(--serif); }
.trace-summary { margin-top: 45px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.trace-summary > div { min-height: 125px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.trace-summary > div:last-child { border-right: 0; }
.trace-summary strong { color: var(--rust); font: 300 48px/1 var(--serif); }
.trace-summary span { font: 500 12px/1.35 var(--mono); text-transform: uppercase; }
.trace-contents { margin-top: 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.trace-contents section { padding: 24px; border: 1px solid var(--line); }
.trace-contents section > span { color: var(--rust); font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; }
.trace-contents section > button { width: 100%; padding: 15px 0; display: flex; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; font: 300 18px/1.25 var(--serif); cursor: pointer; }
.trace-contents section > p { color: var(--ink-soft); font: 300 16px/1.45 var(--serif); }
.trace-reflections blockquote { margin: 16px 0 0; font: italic 300 17px/1.4 var(--serif); }
.trace-tools { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.trace-import { cursor: pointer; }
.trace-status { min-height: 22px; color: var(--rust); font: 500 12px/1.4 var(--mono); }

.ework-for { max-width: 680px; color: var(--rust); font: italic 300 19px/1.45 var(--serif); }
.sample-page { margin: 42px 0 28px; padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); background: var(--paper); }
.sample-page p { margin: 0 0 20px; color: var(--ink-soft); font: 300 20px/1.6 var(--serif); }
.sample-note { color: var(--ink-soft); font: 400 12px/1.45 var(--mono); }
.ework-shell .primary-button { margin-top: 22px; text-decoration: none; }

.report-dialog { width: min(540px, calc(100% - 28px)); color: var(--ink); background: var(--paper-light); box-shadow: var(--shadow); }
.report-shell { padding: clamp(45px, 7vw, 70px); }
.report-shell h2 { margin: 16px 0; font: 300 42px/1 var(--serif); }
.report-shell > p:not(.folio) { color: var(--ink-soft); font: 300 17px/1.5 var(--serif); }
.report-shell label { display: block; margin: 30px 0 20px; }
.report-shell label > span { display: block; margin-bottom: 8px; color: var(--rust); font: 500 12px/1.3 var(--mono); text-transform: uppercase; }
.report-shell select { color: var(--ink); border-color: var(--line); background: var(--paper); }

.former-museum { margin: 100px 0; padding: clamp(26px, 5vw, 72px); background: #252820; color: #f4edde; }
.mythology-kit { margin: 100px 0; padding: clamp(25px, 5vw, 72px); border: 1px solid var(--line); background: #e5dcc8; color: #282922; }
.memory-machine { margin: 100px 0; padding: clamp(25px, 5vw, 72px); background: #38352f; color: #f3ead8; }
.letter-exchange { margin: 100px 0; padding: clamp(25px, 5vw, 72px); background: #eee6d7; color: #302b27; border: 1px solid #a39989; }
.dream-map { margin: 100px 0; padding: clamp(25px, 5vw, 72px); background: #272a30; color: #f1eadc; }
.lost-found { margin: 100px 0; padding: clamp(25px, 5vw, 72px); background: #d8ccba; color: #302b27; }
.body-compass { margin: 100px 0; padding: clamp(25px, 5vw, 72px); border: 1px solid #ada28e; background: #ded2bc; color: #302c28; }
.compass-heading { max-width: 730px; margin-bottom: 42px; }
.compass-heading h3 { margin: 15px 0 22px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.compass-heading em { color: #88634a; font-weight: 300; }
.compass-heading > p:last-child { font: 300 1.15rem/1.6 var(--serif); }
.compass-name-row, .compass-choices, .compass-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 54px); }
.compass-name-row label { display: grid; gap: 10px; font: 500 .85rem/1.3 var(--mono); }
.compass-name-row input, .compass-choice textarea, .compass-field select { box-sizing: border-box; width: 100%; padding: 13px; border: 1px solid #a99b87; border-radius: 0; color: #302c28; background: #f4ecdd; font: 400 1rem/1.45 var(--serif); }
.compass-instructions { max-width: 880px; padding: 23px 0 31px; }
.compass-instructions > p:first-child { font: 400 1.08rem/1.6 var(--serif); }
.compass-instructions button { margin: 5px 10px 5px 0; }
#compass-focus-note { color: #785640; font: italic 300 1rem/1.4 var(--serif); }
.compass-choice { padding: clamp(18px, 3vw, 32px); border: 1px solid #aa9d8d; transition: border-color .2s, background .2s; }
.compass-choice.is-focused { border-color: #85563c; background: rgba(255,255,255,.22); }
.compass-choice h4 { margin: 0 0 20px; font: italic 300 1.65rem/1.2 var(--serif); }
.compass-field { padding: 12px 0 16px; border-bottom: 1px solid #b9ae9e; }
.compass-field label { display: block; margin-bottom: 9px; font: 500 1rem/1.35 var(--serif); }
.compass-field label span { display: block; margin-top: 4px; color: #625b52; font: italic 300 .92rem/1.35 var(--serif); }
.compass-choice > label { display: block; margin: 24px 0 10px; font: 500 .9rem/1.4 var(--mono); }
.compass-choice textarea { resize: vertical; }
.compass-map-section { margin-top: 75px; padding-top: 25px; border-top: 1px solid #a99b87; }
.compass-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.compass-map-heading h4 { margin: 8px 0 0; font: 300 2.4rem/1.1 var(--serif); }
.compass-map-card { padding: clamp(14px, 3vw, 30px); min-width: 0; background: #f2ecdf; border: 1px solid #b9ac99; }
.compass-map-card h5 { min-height: 1.2em; margin: 0 0 15px; overflow-wrap: anywhere; font: 300 1.6rem/1.2 var(--serif); }
.compass-map-card svg { display: block; width: 100%; height: auto; }
.compass-legend { display: flex; gap: 12px 22px; flex-wrap: wrap; margin: 28px 0 18px; font: 400 .88rem/1.4 var(--serif); }
.compass-legend span { display: inline-flex; align-items: center; gap: 8px; }
.compass-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid #58564f; }
.compass-ease { background: #668b83; } .compass-hold { background: #a46650; } .compass-motion { background: #b29355; } .compass-steady { background: #858681; } .compass-unknown { background: #aaaca9; }
.compass-coda { max-width: 750px; font: italic 300 1.05rem/1.5 var(--serif); }
#compass-status { color: #785640; font: 400 .9rem/1.4 var(--serif); }
.compass-clear { padding: 4px 0; border: 0; border-bottom: 1px solid #785640; background: transparent; color: #785640; cursor: pointer; font: 500 .78rem/1.3 var(--mono); }
@media (max-width: 760px) { .compass-name-row, .compass-choices, .compass-maps { grid-template-columns: 1fr; } .body-compass { margin: 65px 0; } }
.lost-found-heading { max-width: 750px; margin-bottom: 45px; }
.lost-found-heading h3 { margin: 15px 0 22px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.lost-found-heading em { color: #88533e; font-weight: 300; }
.lost-found-heading > p:last-child { font: 300 1.15rem/1.6 var(--serif); }
.lost-found-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 75px); }
.lost-found-form { display: grid; align-content: start; gap: 12px; }
.lost-found-form fieldset { display: flex; flex-wrap: wrap; gap: 12px 22px; border: 1px solid #9f9384; padding: 16px; }
.lost-found-form legend, .lost-found-form > label { font: 500 .9rem/1.4 var(--mono); }
.lost-found-form fieldset label { display: inline-flex; align-items: center; gap: 8px; font: 400 1rem/1.4 var(--serif); }
.lost-found-form > label small { font: 400 .85rem/1.4 var(--serif); }
.lost-found-form input:not([type=radio]), .lost-found-form textarea, .lost-found-form select { width: 100%; box-sizing: border-box; padding: 13px; border: 1px solid #9f9384; border-radius: 0; background: #f5efe4; color: #302b27; font: 400 1rem/1.45 var(--serif); }
.lost-found-form textarea { resize: vertical; }
.lost-found-form > p { font: 400 .92rem/1.55 var(--serif); }
.lost-found-form button { justify-self: start; }
#lost-found-status { min-height: 1.5em; color: #794e38; }
.lost-found-pair { align-self: start; padding: clamp(20px, 3vw, 32px); border: 1px solid #9f9384; background: #37332f; color: #f1e7d7; }
.lost-found-pair-head { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid #8c8072; font: 500 .77rem/1.4 var(--mono); }
.lost-found-pair-head button { border: 0; border-bottom: 1px solid #cba98a; background: none; color: #e7c5a6; cursor: pointer; font: 500 .75rem/1.4 var(--mono); }
.lost-found-pair-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 25px 0; }
.lost-found-pair-card { min-height: 225px; padding: 20px; background: #e9e0d1; color: #342d27; transform: rotate(-1deg); }
.lost-found-pair-card + .lost-found-pair-card { transform: rotate(1.3deg); background: #d9cab4; }
.lost-found-pair-card span { color: #91563d; font: 500 .8rem/1.4 var(--mono); }
.lost-found-pair-card p { overflow-wrap: anywhere; font: 300 1.5rem/1.22 var(--serif); }
.lost-found-pair-card small { display: block; overflow-wrap: anywhere; font: italic 300 1rem/1.35 var(--serif); }
.lost-found-pair > p { color: #d4c7b8; font: italic 300 .95rem/1.5 var(--serif); }
.lost-found-ledger-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 75px; padding-top: 25px; border-top: 1px solid #9f9384; }
.lost-found-ledger-head h4 { margin: 8px 0 0; font: 300 2rem/1.1 var(--serif); }
.lost-found-ledger-head > span { font: 400 .85rem/1.4 var(--serif); }
.lost-found-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 55px); margin-top: 30px; }
.lost-found-columns h5 { margin: 0 0 15px; padding-bottom: 10px; border-bottom: 1px solid #9f9384; font: italic 300 2rem/1.2 var(--serif); }
.lost-found-list { display: grid; align-content: start; gap: 12px; }
.lost-found-entry { padding: 23px; background: #f5efe4; border: 1px solid #b6a994; }
.lost-found-entry span { color: #87563d; font: 500 .72rem/1.3 var(--mono); }
.lost-found-entry h6 { margin: 16px 0 8px; overflow-wrap: anywhere; font: 300 1.6rem/1.15 var(--serif); }
.lost-found-entry p { overflow-wrap: anywhere; font: italic 300 1rem/1.5 var(--serif); }
.lost-found-entry button { margin-top: 12px; padding: 4px 0; border: 0; border-bottom: 1px solid #87563d; background: none; color: #87563d; cursor: pointer; font: 500 .75rem/1.3 var(--mono); }
.lost-found-empty { font: italic 300 1rem/1.5 var(--serif); }
.curator-lost-found { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 24px; }
.curator-ledger-entry { padding: 20px; margin: 10px 0; border: 1px solid var(--line); }
.lost-found-curator-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lost-found-curator-actions button { border: 1px solid var(--line); background: none; padding: 7px 10px; cursor: pointer; }
@media (max-width: 760px) { .lost-found-layout, .lost-found-columns { grid-template-columns: 1fr; } .lost-found { margin: 65px 0; } }
@media (max-width: 500px) { .lost-found-pair-cards { grid-template-columns: 1fr; } .lost-found-pair-card { min-height: 150px; } }
.dream-heading { max-width: 710px; margin-bottom: 45px; }
.dream-heading h3 { margin: 15px 0 22px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.dream-heading em { color: #c6ad83; font-weight: 300; }
.dream-heading > p:last-child { font: 300 1.15rem/1.6 var(--serif); }
.dream-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 70px); }
.dream-form { display: grid; align-content: start; gap: 14px; }
.dream-form > label { font: 500 .92rem/1.4 var(--mono); }
.dream-form > label small { display: block; margin-top: 3px; color: #c9c6bd; font: 400 .85rem/1.4 var(--serif); }
.dream-form input[type=file], .dream-form textarea { box-sizing: border-box; width: 100%; padding: 13px; border: 1px solid #85888c; border-radius: 0; background: #343840; color: #f1eadc; font: 400 1rem/1.45 var(--serif); }
.dream-form input[type=file] { font-size: .85rem; }
.dream-form textarea::placeholder { color: #c9c6bd; }
#dream-preview { display: block; max-width: min(100%, 320px); max-height: 245px; object-fit: contain; border: 1px solid #85888c; }
#dream-preview[hidden], #dream-all[hidden] { display: none; }
.dream-form fieldset { display: flex; flex-wrap: wrap; gap: 12px 20px; border: 1px solid #85888c; margin: 8px 0; padding: 17px; }
.dream-form legend { padding: 0 8px; font: 500 .9rem/1.4 var(--mono); }
.dream-form legend small { font: 400 .85rem/1.4 var(--serif); }
.dream-form fieldset label { display: inline-flex; align-items: center; gap: 7px; font: 400 1rem/1.4 var(--serif); }
.dream-form > p, .dream-privacy, #dream-form-status { color: #d3d1c9; font: 400 .9rem/1.55 var(--serif); }
.dream-form button { justify-self: start; }
.dream-visual { min-width: 0; padding: 20px; border: 1px solid #85888c; background: radial-gradient(circle at 48% 48%, #393b41, #21242a 75%); }
.dream-visual-top { display: flex; justify-content: space-between; gap: 12px; color: #d4c5ad; font: 500 .75rem/1.4 var(--mono); letter-spacing: .04em; }
#dream-constellation { display: block; width: 100%; height: auto; margin: 15px 0; }
#dream-constellation g { cursor: pointer; }
#dream-constellation g:focus-visible { outline: 2px solid #eee0c5; outline-offset: 3px; }
#dream-map-caption { color: #d3d1c9; font: italic 300 .95rem/1.5 var(--serif); }
.dream-gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-top: 65px; padding-top: 24px; border-top: 1px solid #85888c; }
.dream-gallery-head h4 { margin: 8px 0 0; font: 300 2rem/1.1 var(--serif); }
.dream-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 15px; margin: 25px 0; }
.dream-card { min-width: 0; background: #ece4d6; color: #302b27; }
.dream-card > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.dream-card-body { padding: 18px; }
.dream-card-body span { color: #875f48; font: 500 .75rem/1.4 var(--mono); }
.dream-card-body p { overflow-wrap: anywhere; font: italic 300 1.05rem/1.4 var(--serif); }
.dream-card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 15px; }
.dream-card-actions button { border: 0; border-bottom: 1px solid #875f48; padding: 4px 0; background: transparent; color: #875f48; cursor: pointer; font: 500 .78rem/1.3 var(--mono); }
.dream-empty { font: italic 300 1.2rem/1.5 var(--serif); }
.curator-dreams { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 24px; }
.curator-dream { border: 1px solid var(--line); padding: 20px; margin: 10px 0; }
.curator-dream img { display: block; max-width: 240px; max-height: 240px; object-fit: contain; }
@media (max-width: 760px) { .dream-layout { grid-template-columns: 1fr; } .dream-map { margin: 65px 0; } }
.letter-heading { max-width: 740px; margin-bottom: 50px; }
.letter-heading h3 { margin: 15px 0 22px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.letter-heading h3 em { color: #885841; font-weight: 300; }
.letter-heading > p:last-child { font: 300 1.15rem/1.6 var(--serif); }
.letter-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); }
.letter-writing label { display: block; margin-bottom: 12px; font: 500 .9rem/1.4 var(--mono); }
.letter-writing textarea { width: 100%; min-height: 300px; box-sizing: border-box; padding: 24px; border: 1px solid #a39989; border-radius: 0; background: #faf6ec; color: #302b27; resize: vertical; font: 400 1.1rem/1.6 var(--serif); }
.letter-writing > p, .letter-preview > p:not(.symbol-kicker), .letter-received > p:not(.symbol-kicker), .letter-awaiting p { font: 400 1rem/1.6 var(--serif); }
.letter-writing button { margin-top: 13px; }
.letter-paper { min-height: 200px; padding: clamp(24px, 3vw, 45px); border: 1px solid #b9ac99; background: #faf6ec; white-space: pre-wrap; overflow-wrap: anywhere; font: 300 1.3rem/1.55 var(--serif); box-shadow: 8px 9px 0 #d4c6b3; }
.letter-preview, .letter-received { min-width: 0; }
.letter-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0; font: 400 .95rem/1.5 var(--serif); }
.letter-consent input { width: 18px; height: 18px; flex: none; }
.letter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.letter-actions label { font: 400 .88rem/1.4 var(--serif); }
.letter-actions select { padding: 9px; border: 1px solid #a39989; background: #faf6ec; color: #302b27; font: 400 .9rem/1.4 var(--serif); }
.letter-awaiting { margin-top: 30px; max-width: 650px; padding: 25px; border: 1px solid #a39989; }
#letter-status { min-height: 1.5em; margin-top: 25px; color: #79503d; font: 500 .9rem/1.5 var(--serif); }
.letter-small { max-width: 800px; font: 400 .85rem/1.5 var(--serif); }
.letter-remove { padding: 4px 0; border: 0; border-bottom: 1px solid #79503d; color: #79503d; background: none; font: 500 .8rem/1.4 var(--mono); cursor: pointer; }
.curator-letters { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 24px; }
.curator-letter { padding: 20px; border: 1px solid var(--line); margin: 10px 0; }
.curator-letter p { white-space: pre-wrap; overflow-wrap: anywhere; }
.curator-letter button { padding: 7px 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
@media (max-width: 760px) { .letter-layout { grid-template-columns: 1fr; } .letter-exchange { margin: 65px 0; } }
.memory-heading { max-width: 680px; margin-bottom: 45px; }
.memory-heading h3 { margin: 15px 0 23px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.memory-heading h3 em { color: #cfae83; font-weight: 300; }
.memory-heading > p:last-child { font: 300 1.15rem/1.6 var(--serif); }
.memory-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 75px); }
.memory-inputs { display: grid; align-content: start; gap: 11px; }
.memory-inputs label { margin-top: 11px; font: 500 .88rem/1.4 var(--mono); }
.memory-inputs input { width: 100%; box-sizing: border-box; padding: 14px; border: 1px solid #aaa08e; border-radius: 0; background: #49453e; color: #fff9ec; font: 400 1rem/1.4 var(--serif); }
.memory-inputs input::placeholder { color: #d4c9b8; }
.memory-inputs button { justify-self: start; margin-top: 18px; }
.memory-footnote { color: #d4c9b8; font: italic 300 .95rem/1.5 var(--serif); }
.memory-specimen { box-sizing: border-box; min-height: 510px; padding: clamp(25px, 4vw, 52px); display: flex; flex-direction: column; background: #e9e0cd; color: #312c27; border: 1px solid #b6a690; box-shadow: 12px 14px 0 #282620; }
.memory-card-top, .memory-card-bottom { display: flex; justify-content: space-between; gap: 15px; color: #76503d; font: 500 .76rem/1.45 var(--mono); letter-spacing: .05em; }
.memory-card-top { padding-bottom: 19px; border-bottom: 1px solid #a49987; }
.memory-card-label { margin: 45px 0 20px; color: #76503d; font: italic 300 1.05rem/1.4 var(--serif); }
.memory-specimen-text { flex: 1; font: 300 clamp(1.4rem, 2.8vw, 2.2rem)/1.25 var(--serif); overflow-wrap: anywhere; }
.memory-specimen-text p { margin: 0 0 15px; }
.memory-placeholder { color: #776d5f; font-style: italic; }
.memory-card-bottom { padding-top: 17px; border-top: 1px solid #a49987; }
.memory-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.memory-actions button:disabled { opacity: .45; cursor: not-allowed; }
#memory-status { min-height: 1.5em; font: 400 .9rem/1.5 var(--serif); }
.memory-collection { margin-top: 65px; border-top: 1px solid #9b9181; padding-top: 20px; }
.memory-collection-head { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.memory-collection-head span { font: 400 .85rem/1.4 var(--serif); }
.memory-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 15px; margin-top: 18px; }
.memory-drawer-card { min-width: 0; padding: 20px; background: #e9e0cd; color: #312c27; }
.memory-drawer-card > span { color: #76503d; font: 500 .75rem/1.3 var(--mono); }
.memory-drawer-card h4 { margin: 22px 0 4px; font: 300 1.6rem/1.1 var(--serif); overflow-wrap: anywhere; }
.memory-drawer-card p { font: italic 300 .95rem/1.4 var(--serif); overflow-wrap: anywhere; }
.memory-drawer-actions { display: flex; gap: 18px; margin-top: 23px; }
.memory-drawer-actions button { border: 0; border-bottom: 1px solid #76503d; background: transparent; color: #76503d; padding: 3px 0; cursor: pointer; font: 500 .78rem/1.3 var(--mono); }
.memory-drawer-empty { font: italic 300 1.1rem/1.5 var(--serif); }
@media (max-width: 760px) { .memory-layout { grid-template-columns: 1fr; } .memory-machine { margin: 65px 0; } .memory-specimen { min-height: 430px; } }
.mythology-heading { max-width: 760px; padding-bottom: 45px; }
.mythology-heading h3 { margin: 15px 0 20px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.mythology-heading em { color: #8b4935; font-weight: 300; }
.mythology-heading > p:last-child { max-width: 640px; font: 300 1.15rem/1.6 var(--serif); }
.mythology-layout { display: grid; grid-template-columns: minmax(195px, .32fr) minmax(0, 1fr); gap: clamp(25px, 5vw, 80px); }
.mythology-index { align-self: start; position: sticky; top: 28px; display: grid; gap: 0; border-top: 1px solid #9f988a; }
.mythology-index a { padding: 14px 0; border-bottom: 1px solid #9f988a; color: inherit; text-decoration: none; font: 500 .86rem/1.4 var(--mono); }
.mythology-index a:hover, .mythology-index a:focus-visible { color: #8b4935; }
.mythology-index p { margin-top: 25px; font: italic 300 1rem/1.5 var(--serif); }
.mythology-pages { min-width: 0; }
.mythology-page { padding: 0 0 48px; margin: 0 0 48px; border-bottom: 1px solid #9f988a; scroll-margin-top: 24px; }
.mythology-page > span { color: #8b4935; font: 500 .8rem/1.3 var(--mono); letter-spacing: .06em; }
.mythology-page h4 { margin: 12px 0 14px; font: 300 clamp(2.1rem, 4vw, 3.4rem)/1.1 var(--serif); }
.mythology-page p { max-width: 680px; font: 400 1.05rem/1.55 var(--serif); }
.mythology-page label { display: block; margin: 27px 0 12px; font: 500 1rem/1.45 var(--serif); }
.mythology-page textarea { display: block; box-sizing: border-box; width: 100%; padding: 20px; border: 1px solid #9f988a; border-radius: 0; background: #f5f0e5; color: #282922; resize: vertical; font: 400 1.05rem/1.55 var(--serif); }
.mythology-page .mythology-nudge { color: #775641; font: italic 300 1rem/1.5 var(--serif); }
.mythology-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#mythology-status { min-height: 1.5em; font: 400 .9rem/1.5 var(--serif); }
@media (max-width: 760px) { .mythology-layout { grid-template-columns: 1fr; } .mythology-index { position: static; grid-template-columns: repeat(2, 1fr); column-gap: 15px; } .mythology-index p { grid-column: 1 / -1; } .mythology-kit { margin: 65px 0; } }
.museum-heading { max-width: 720px; margin-bottom: 45px; }
.museum-heading h3 { margin: 15px 0 23px; font: 300 clamp(2.8rem, 6vw, 5.7rem)/.95 var(--serif); letter-spacing: -.045em; }
.museum-heading h3 em { color: #d5b895; font-weight: 300; }
.museum-heading > p:last-child { max-width: 610px; font: 300 1.15rem/1.6 var(--serif); }
.museum-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.museum-editor { display: grid; align-content: start; gap: 11px; }
.museum-editor label { margin-top: 15px; font: 500 .9rem/1.4 var(--mono); }
.museum-editor label small { display: block; color: #c4c5b9; font: 400 .8rem/1.5 var(--serif); }
.museum-editor input, .museum-editor textarea, .museum-editor select { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #777b6d; border-radius: 0; background: #30342a; color: #fffaf0; font: 400 1rem/1.45 var(--serif); }
.museum-editor input::placeholder, .museum-editor textarea::placeholder { color: #bbbdb1; }
.museum-editor input[type=file] { font-size: .85rem; }
.museum-editor button { justify-self: start; }
.museum-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.museum-gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; border-bottom: 1px solid #777b6d; }
.museum-gallery-head span, .museum-hint, #museum-message { color: #c5c6b9; font: 400 .85rem/1.5 var(--serif); }
.museum-exhibits { display: grid; gap: 23px; margin: 22px 0; }
.museum-empty { padding: 65px 25px; border: 1px solid #777b6d; text-align: center; font: italic 300 1.4rem/1.4 var(--serif); }
.museum-exhibit { background: #e9e1d1; color: #282922; }
.museum-exhibit img { width: 100%; max-height: 330px; object-fit: cover; display: block; }
.museum-exhibit-body { padding: 25px; }
.museum-exhibit h4 { margin: 9px 0 22px; font: 300 2rem/1.08 var(--serif); }
.museum-exhibit details { border-top: 1px solid #aaa695; padding: 12px 0; }
.museum-exhibit summary { cursor: pointer; font: 500 .9rem/1.4 var(--mono); }
.museum-exhibit details p { white-space: pre-wrap; font: 400 1rem/1.55 var(--serif); }
.museum-prompts { margin-top: 50px; padding-top: 22px; border-top: 1px solid #777b6d; }
.museum-prompts p:last-child { max-width: 750px; font: italic 300 1.35rem/1.5 var(--serif); }
@media (max-width: 760px) { .museum-layout { grid-template-columns: 1fr; } .former-museum { margin: 65px 0; } }

.curator-status { margin: 28px 0; color: var(--rust); font: 500 12px/1.4 var(--mono); text-transform: uppercase; }
.curator-list { display: grid; gap: 14px; }
.curator-card { padding: 24px; display: grid; grid-template-columns: 1fr auto; gap: 30px; border: 1px solid var(--line); }
.curator-card.is-hidden { background: rgba(164, 71, 46, 0.06); }
.curator-card span,
.curator-card small { color: var(--ink-soft); font: 500 12px/1.45 var(--mono); text-transform: uppercase; }
.curator-card blockquote { margin: 16px 0; font: italic 300 21px/1.35 var(--serif); }
.curator-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.curator-actions button { border: 0; border-bottom: 1px solid var(--rust); padding: 5px 0; color: var(--rust); background: transparent; font: 500 12px/1.2 var(--mono); text-transform: uppercase; cursor: pointer; }
.curator-actions .is-destructive { color: #8a271b; border-color: #8a271b; }

@media (max-width: 980px) {
  .today-grid { grid-template-columns: repeat(2, 1fr); }
  .today-card:nth-child(2) { border-right: 0; }
  .today-card:nth-child(-n + 2) { border-bottom: 1px solid rgba(244, 237, 222, 0.18); }
  .volume-shelf { grid-template-columns: 1fr; }
  .volume-card { min-height: 290px; border-right: 0; border-bottom: 1px solid var(--line); }
  .volume-card:last-child { border-bottom: 0; }
  .trace-summary { grid-template-columns: repeat(2, 1fr); }
  .trace-summary > div:nth-child(2) { border-right: 0; }
  .trace-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .works-overview { grid-template-columns: 1fr 1.4fr; }
  .works-overview > a { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .today-desk,
  .installation-index,
  .works-cabinet,
  .return-letter { width: min(100% - 34px, 1420px); }
  .today-desk-head,
  .section-ledger-head { grid-template-columns: 1fr; gap: 28px; }
  .today-date { padding-left: 0; border-left: 0; }
  .featured-fragment { grid-template-columns: 1fr; }
  .featured-fragment .text-button { grid-column: 1; }
  .ework-card { grid-template-columns: 1fr; }
  .deck-room { grid-template-columns: 1fr; }
  .meditation-interface { grid-template-columns: 1fr; }
  .symbol-workspace, .symbol-notes { grid-template-columns: 1fr; }
  .symbol-notes > div { grid-template-columns: 1fr; }
  .capsule-room { grid-template-columns: 1fr; }
  .ework-cover { max-width: 330px; border-right: 0; border-bottom: 1px solid rgba(244, 237, 222, 0.2); }
  .works-overview { grid-template-columns: 1fr; }
  .works-overview > a { grid-column: auto; }
  .works-support { grid-template-columns: 1fr; }
  .support-choice + .support-choice { border-left: 0; border-top: 1px solid rgba(244, 237, 222, 0.25); }
  .visit-ending { grid-column: 1; }
  .next-doors > div { grid-template-columns: 1fr; }
  .next-doors button { border-right: 1px solid var(--line); border-bottom: 0; }
  .next-doors button:last-child { border-bottom: 1px solid var(--line); }
  .trace-contents { grid-template-columns: 1fr; }
  .curator-card { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .today-grid { grid-template-columns: 1fr; }
  .today-card { min-height: 205px; border-right: 0; border-bottom: 1px solid rgba(244, 237, 222, 0.18); }
  .today-card:nth-child(2) { border-right: 0; }
  .today-card:last-child { border-bottom: 0; }
  .trace-summary { grid-template-columns: 1fr; }
  .trace-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trace-summary > div:last-child { border-bottom: 0; }
  .trace-tools .primary-button,
  .trace-tools .secondary-button { width: 100%; }
  .installation-archive > div { display: grid; }
}

/* The courtyard: seven views of the same imagined building. */
:root {
  --paper: #ebe5da;
  --paper-light: #f6f0e7;
  --paper-deep: #d6c7b4;
  --ink: #232629;
  --ink-soft: #505453;
  --rust: #865639;
  --rust-deep: #62442f;
  --moss: #4a554b;
  --gold: #b99a6c;
  --line: rgba(38, 40, 40, .25);
}
body { background: #ebe5da; }
body::before { box-shadow: inset 0 0 110px rgba(21, 24, 27, .07); }
.site-header {
  width: 100%; min-height: 74px; padding: 0 max(25px, calc((100vw - 1420px)/2));
  background: #15191b; border-bottom: 1px solid rgba(226, 213, 191, .25);
  color: #f0e9dd;
}
.site-header .wordmark-mark { border-color: #c1a782; color: #e5d0ad; }
.site-header .text-button, .site-header .text-link { color: #f0e9dd; }
.site-header .text-button:hover, .site-header .text-link:hover { color: #d6b98d; }
.site-header kbd { border-color: #9a8a77; }
.section-nav { width: 100%; margin: 0; padding: 0 max(25px, calc((100vw - 1420px)/2)); background: #25282a; color: #eee3d3; border-color: #6e665a; }
.section-nav-button, .section-nav-button small { color: #e9dfd0; }
.section-nav-button:hover, .section-nav-button.is-active { background: #4b4339; color: #fff4e5; }
.section-nav-button.is-active small { color: #e8c89e; }
.courtyard-entrance { background: #15191b; color: #eee9df; padding: 0 max(25px, calc((100vw - 1420px)/2)); }
main > section[hidden], #works > section[hidden], .page-trail[hidden] { display: none !important; }
.page-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px max(25px, calc((100vw - 1420px)/2)); background: #15191b; color: #e7d7c2; font: 500 .85rem/1.5 var(--mono); }
.page-trail a { color: inherit; text-underline-offset: 4px; }
.page-trail a:hover, .page-trail a:focus-visible { color: #fff; }
.page-trail strong { color: #fff4df; font-weight: 500; }
.footer-rooms { display: flex; gap: 18px; flex-wrap: wrap; }
#works.showing-room > :not(section) { display: none !important; }
.courtyard-stage { position: relative; overflow: hidden; background: #111315; }
.courtyard-stage img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; cursor: pointer; }
.courtyard-doors { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.courtyard-image-link { position: absolute; inset: 0; cursor: pointer; }
.courtyard-door { position: absolute; z-index: 1; top: 29%; height: 44%; width: 15%; display: block; padding: 0; border: 1px solid transparent; border-radius: 46% 46% 5% 5%; background: transparent; color: #fff; cursor: pointer; touch-action: manipulation; }
.courtyard-door:hover, .courtyard-door:focus-visible { outline: 2px solid #f4dfbb; outline-offset: -2px; background: rgba(255, 241, 211, .12); }
.courtyard-door-library { left: 11%; }
.courtyard-door-body { left: 28.5%; }
.courtyard-door-mind { left: 42.5%; }
.courtyard-door-poetry { left: 60%; }
.courtyard-door-atlas { left: 79%; }
.room-guide { padding-top: clamp(50px, 7vw, 100px); }
.room-guide-heading { border-bottom: 1px solid var(--line); padding-bottom: 35px; }
.room-guide-heading h1 em { color: #866348; }
.room-guide-group { border-top: 0; padding: 0 0 44px; margin-bottom: 28px; background: #f2ece2; border: 1px solid #c6b9a8; }
.room-guide-group-heading { min-height: 230px; padding: clamp(28px, 5vw, 65px); margin: 0; display: flex; flex-direction: column; justify-content: end; align-items: start; gap: 7px; color: #fff6e8; background-size: cover; background-position: center 48%; }
.room-guide-group:nth-child(1) .room-guide-group-heading { background-image: linear-gradient(90deg, rgba(17,20,23,.84), rgba(17,20,23,.26)), url('./assets/courtyard-6.webp?v=0fc2ed6d5b2e'); }
.room-guide-group:nth-child(2) .room-guide-group-heading { background-image: linear-gradient(90deg, rgba(17,20,23,.87), rgba(17,20,23,.26)), url('./assets/courtyard-3.webp?v=0fc2ed6d5b2e'); }
.room-guide-group:nth-child(3) .room-guide-group-heading { background-image: linear-gradient(90deg, rgba(17,20,23,.86), rgba(17,20,23,.24)), url('./assets/courtyard-2.webp?v=0fc2ed6d5b2e'); }
.room-guide-group:nth-child(4) .room-guide-group-heading { background-image: linear-gradient(90deg, rgba(17,20,23,.86), rgba(17,20,23,.28)), url('./assets/courtyard-7.webp?v=0fc2ed6d5b2e'); }
.room-guide-group-heading h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; }
.room-guide-group-heading p { color: #eee7dc; max-width: 600px; font: 400 1.05rem/1.45 var(--serif); }
.room-guide-grid { padding: 14px; gap: 0; }
.room-guide-card { background: #f5efe6; border-color: #cfc3b4; min-height: 164px; }
.room-guide-card:hover, .room-guide-card:focus-visible { background: #fffbf2; border-color: #7e6751; transform: translateY(-2px); z-index: 1; }
.today-desk { background: linear-gradient(90deg, rgba(15,18,20,.9), rgba(15,18,20,.81)), url('./assets/courtyard-5.webp?v=0fc2ed6d5b2e') center / cover; }
.today-desk .eyebrow, .today-desk h2 em, .today-date { color: #e7c79b; }
.threshold { background: linear-gradient(110deg, rgba(244,236,222,.92), rgba(244,236,222,.82)), url('./assets/courtyard-4.webp?v=0fc2ed6d5b2e') center / cover; padding-left: clamp(25px, 5vw, 75px); padding-right: clamp(25px, 5vw, 75px); margin-top: 55px; min-height: 680px; }
.threshold::before { opacity: .25; }
.archive { background: linear-gradient(rgba(24,28,29,.94), rgba(24,28,29,.96)), url('./assets/courtyard-2.webp?v=0fc2ed6d5b2e') center / cover; padding: clamp(30px, 5vw, 72px); margin-top: 35px; }
.installation-index > .section-ledger-head { padding: clamp(30px, 5vw, 65px); background: linear-gradient(90deg, rgba(25,28,29,.89), rgba(25,28,29,.48)), url('./assets/courtyard-1.webp?v=0fc2ed6d5b2e') center / cover; color: #fff4e6; }
.installation-index > .section-ledger-head p { color: #f1e7d7; }
.works-cabinet { background: #eee8de; color: #292d29; padding: clamp(25px, 4vw, 60px); }
.works-cabinet > .section-ledger-head { padding: clamp(30px, 5vw, 65px); background: linear-gradient(90deg, rgba(25,28,29,.89), rgba(25,28,29,.48)), url('./assets/courtyard-7.webp?v=0fc2ed6d5b2e') center / cover; color: #fff4e6; }
.works-cabinet > .section-ledger-head p, .works-cabinet > .section-ledger-head a { color: #f1e7d7; }
.works-overview, .works-support, .ework-card { border-color: #b6a997; }
.works-overview { color: #292d29; }
.works-overview strong { color: #374f43; }
.works-overview span, .works-overview > p { color: #414944; }
.works-overview > a, .interactive-rooms-intro a { color: #6e3525; }
.ework-card { background: #f7f1e7; }
.ework-cover { border-color: #b6a997; }
.ework-copy { color: #292d29; }
.ework-copy > span, .support-choice > span { color: #69402c; }
.ework-copy p, .ework-copy > small, .support-choice p { color: #414944; }
.ework-copy .secondary-button, .support-choice .secondary-button { color: #292d29; border-color: #5a6259; }
.ework-copy .secondary-button:hover, .support-choice .secondary-button:hover { color: #fff9ee; }
.ework-copy .text-link { color: #6e3525; }
.works-support { background: #f7f1e7; color: #292d29; }
.support-choice + .support-choice { border-color: #b6a997; background: #ece4d7; }
.footer-rooms a { color: #403e36; font-size: .75rem; text-underline-offset: 4px; }
/* Each activity keeps its existing form and uses a courtyard scene as its doorway. */
.works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading) { padding: clamp(26px, 4vw, 52px); min-height: 250px; display: flex; flex-direction: column; justify-content: end; align-items: start; color: #fff4e7; background-size: cover; background-position: center; }
.works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading) :is(p, .folio, em) { color: #fff0dc; }
.works-cabinet .symbol-header { background-image: linear-gradient(90deg, rgba(19,22,24,.92), rgba(19,22,24,.34)), url('./assets/courtyard-3.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .museum-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-4.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .mythology-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.92), rgba(19,22,24,.32)), url('./assets/courtyard-7.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .memory-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-6.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .letter-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.92), rgba(19,22,24,.38)), url('./assets/courtyard-2.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .dream-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.92), rgba(19,22,24,.34)), url('./assets/courtyard-5.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .lost-found-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-1.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .compass-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-4.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .meditation-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-6.webp?v=0fc2ed6d5b2e'); }
.works-cabinet .capsule-heading { background-image: linear-gradient(90deg, rgba(19,22,24,.9), rgba(19,22,24,.35)), url('./assets/courtyard-3.webp?v=0fc2ed6d5b2e'); }
@media (max-width: 760px) {
  .site-header { padding-inline: 17px; }
  .section-nav { padding-inline: 0; }
  .courtyard-entrance { padding: 0; }
  .courtyard-stage img { aspect-ratio: 3 / 2; }
  .threshold { width: 100%; min-height: auto; }
  .archive, .works-cabinet { padding: 25px 17px; }
  .room-guide-group-heading { min-height: 180px; }
}
@media (max-width: 520px) {
  .courtyard-stage img { aspect-ratio: 3 / 2; }
  .courtyard-door { top: 24%; height: 49%; }
  .room-guide-grid { padding: 10px; }
}

/* The Small Wonders Room */
.wonder-room { position: relative; isolation: isolate; overflow: hidden; margin: 100px 0; padding: clamp(26px, 5vw, 72px); background: #101725; color: #f8f3ee; border: 1px solid #847da3; }
.wonder-room::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 82% 12%, #b290d45e, transparent 28%), radial-gradient(circle at 10% 65%, #65ddcf36, transparent 31%), linear-gradient(138deg, #131827, #252139 57%, #101e28); animation: wonder-breathe 13s ease-in-out infinite alternate; }
.wonder-room::after { content: ""; pointer-events: none; position: absolute; inset: 0; z-index: -1; opacity: .2; background: repeating-linear-gradient(115deg, transparent 0 32px, #d4fbef 33px, transparent 34px); mask-image: linear-gradient(to bottom, black, transparent 78%); }
.wonder-aurora { pointer-events: none; position: absolute; width: 56vw; height: 56vw; max-width: 760px; max-height: 760px; top: -33vw; right: -16vw; border-radius: 50%; background: conic-gradient(from 20deg, #79dcc2, #b890e6, #f5b1b7, #79dcc2); filter: blur(72px); opacity: .17; animation: wonder-drift 24s linear infinite; }
.wonder-heading { position: relative; max-width: 840px; }
.wonder-heading .folio, .wonder-step, .wonder-gallery-heading .folio { color: #bcefe5; letter-spacing: .14em; }
.wonder-heading h3 { margin: 22px 0; font: 300 clamp(3.3rem, 7vw, 7rem)/.91 var(--serif); letter-spacing: -.05em; }
.wonder-heading h3 em { color: #cfbcfa; font-weight: 300; text-shadow: 0 0 28px #ac8fe488; }
.wonder-heading > p:not(.folio) { max-width: 680px; font: 300 clamp(1.15rem, 2.4vw, 1.5rem)/1.5 var(--serif); color: #e4e7e7; }
.wonder-orbit { display: inline-block; margin-top: 28px; color: #a6e5e5; font: 500 .78rem/1.4 var(--mono); letter-spacing: .17em; animation: wonder-float 6s ease-in-out infinite; }
.wonder-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(230px, .7fr); gap: clamp(24px, 5vw, 70px); align-items: stretch; margin: 65px 0 75px; }
.wonder-form { padding: clamp(24px, 4vw, 43px); background: #e5e0f1f0; color: #242333; box-shadow: 0 14px 80px #8d7dd129; border: 1px solid #f4eaff; }
.wonder-form > label:not(.wonder-confirm) { display: block; margin-top: 20px; font: 500 1rem/1.4 var(--serif); }
.wonder-form input[type=file], .wonder-form input[type=text], .wonder-form input:not([type]) { box-sizing: border-box; width: 100%; margin: 8px 0; padding: 13px; min-height: 48px; border: 1px solid #8a829e; background: #fbf9ff; color: #242333; font: 400 1rem/1.4 var(--serif); }
.wonder-form input[type=file] { font: 400 .9rem/1.4 var(--sans); }
.wonder-form small { display: block; color: #625c76; font: 400 .83rem/1.5 var(--sans); }
.wonder-form #wonder-preview { display: block; max-width: 100%; max-height: 300px; object-fit: contain; margin: 16px 0; border: 1px solid #aba5c7; }
.wonder-form #wonder-preview[hidden] { display: none; }
.wonder-confirm { display: flex; gap: 12px; margin: 25px 0 12px; align-items: start; font: 400 .98rem/1.45 var(--sans); }
.wonder-confirm input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #56429a; }
.wonder-care { color: #4c4861; font: 400 .9rem/1.5 var(--sans); }
.wonder-form button[type=submit] { min-height: 50px; margin-top: 14px; padding: 12px 20px; border: 1px solid #382b6a; background: #30265d; color: #fff8ff; font: 500 .95rem/1.4 var(--sans); cursor: pointer; }
.wonder-form button[type=submit]:hover { background: #53428e; box-shadow: 0 0 24px #a48eebaa; }
.wonder-form button:disabled { opacity: .55; cursor: wait; }
#wonder-status { min-height: 1.5em; font: 400 .92rem/1.5 var(--sans); }
.wonder-field { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; overflow: hidden; min-height: 330px; padding: 30px; border: 1px solid #bcd7db88; text-align: center; background: linear-gradient(135deg, #b6a5f225, #8de7d314); box-shadow: inset 0 0 70px #d6caf01c; }
.wonder-field::before, .wonder-field::after { content: ""; position: absolute; width: 55%; aspect-ratio: 1; border: 1px solid #9bdcca99; border-radius: 50%; animation: wonder-turn 16s linear infinite; }
.wonder-field::after { width: 74%; border-color: #c7abe77a; animation-direction: reverse; animation-duration: 23s; }
.wonder-field > span { z-index: 1; color: #bcefe5; font: 500 .8rem/1.5 var(--mono); letter-spacing: .13em; }
.wonder-field strong { z-index: 1; font: 300 clamp(5rem, 10vw, 9rem)/1 var(--serif); text-shadow: 0 0 34px #d0b7f9; }
.wonder-field p { z-index: 1; font: italic 300 1.4rem/1.4 var(--serif); }
.wonder-gallery-heading { border-top: 1px solid #dddef266; padding-top: 29px; }
.wonder-gallery-heading h4 { margin: 8px 0 28px; font: 300 clamp(2.1rem, 4vw, 3.5rem)/1.1 var(--serif); }
.wonder-gallery-heading > p:last-child { margin: -12px 0 32px; color: #d1d6eb; font: italic 300 1.12rem/1.5 var(--serif); }
.wonder-gallery { position: relative; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: clamp(32px, 5vw, 82px) clamp(12px, 3vw, 45px); min-height: 300px; padding: clamp(35px, 5vw, 75px) clamp(12px, 3vw, 50px); border: 1px solid #aaa9d977; background: radial-gradient(circle at 18% 28%, #9dc9e928 0 2px, transparent 3px), radial-gradient(circle at 72% 70%, #efd3f947 0 2px, transparent 3px), radial-gradient(circle at 42% 84%, #a1f7ec61 0 1px, transparent 3px), linear-gradient(135deg, #162033a6, #261d3a99); background-size: 240px 220px, 310px 280px, 180px 190px, auto; }
.wonder-card { --bubble-size: clamp(170px, 21vw, 250px); position: relative; box-sizing: border-box; flex: 0 0 var(--bubble-size); width: var(--bubble-size); display: flex; flex-direction: column; align-items: center; padding: 8px; text-align: center; animation: wonder-float-bubble 7s ease-in-out infinite alternate; }
.wonder-card:nth-child(4n + 2) { --bubble-size: clamp(145px, 18vw, 210px); animation-duration: 9s; animation-delay: -3s; }
.wonder-card:nth-child(4n + 3) { --bubble-size: clamp(185px, 23vw, 265px); animation-duration: 8s; animation-delay: -5s; }
.wonder-card:nth-child(4n) { --bubble-size: clamp(155px, 19vw, 220px); animation-duration: 10s; animation-delay: -2s; }
.wonder-card:nth-child(5n + 2) { margin-top: 55px; }
.wonder-card:nth-child(5n + 4) { margin-bottom: 48px; }
.wonder-card:hover, .wonder-card:focus-within { animation-play-state: paused; z-index: 2; }
.wonder-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 7px solid #d6d1fa82; box-shadow: 0 0 0 1px #a0f3e7, inset 0 0 24px #fff, 0 0 25px #9de2ef80, 0 0 65px #c7a5f048; transition: box-shadow .25s, scale .25s; }
.wonder-card:hover img, .wonder-card:focus-within img { scale: 1.04; box-shadow: 0 0 0 2px #e7fdf7, 0 0 45px #90ebecbb, 0 0 80px #be9df4a3; }
.wonder-card::after { content: ""; pointer-events: none; position: absolute; top: 11px; left: 16%; width: 38%; height: 17%; border-top: 3px solid #fff9; border-radius: 50%; transform: rotate(-29deg); filter: blur(1px); }
.wonder-card-body { width: 100%; padding: 15px 4px 5px; }
.wonder-card-body span { color: #a7e9e3; font: 500 .7rem/1.4 var(--mono); letter-spacing: .08em; }
.wonder-card-body p { overflow-wrap: anywhere; margin: 8px 0 2px; font: italic 300 1.1rem/1.4 var(--serif); }
.wonder-card-body button { margin-top: 12px; padding: 4px 0; border: 0; border-bottom: 1px solid #c3b2ef; background: transparent; color: #e9ddff; cursor: pointer; font: 400 .82rem/1.4 var(--sans); }
.wonder-card-body button:focus-visible { outline: 2px solid #b8f2e7; outline-offset: 4px; }
.wonder-empty { width: 100%; padding: 42px; border: 1px solid #b5b3df8a; color: #efeafa; font: italic 300 1.4rem/1.4 var(--serif); text-align: center; }
@keyframes wonder-float-bubble { from { transform: translate3d(-5px, 8px, 0) rotate(-2deg); } to { transform: translate3d(8px, -12px, 0) rotate(2deg); } }
@keyframes wonder-breathe { to { filter: hue-rotate(24deg) brightness(1.15); } }
@keyframes wonder-drift { to { transform: rotate(360deg); } }
@keyframes wonder-float { 50% { transform: translateY(-7px); } }
@keyframes wonder-turn { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .wonder-layout { grid-template-columns: 1fr; margin: 40px 0 60px; } .wonder-field { min-height: 250px; } .wonder-room { margin: 65px 0; } }
@media (max-width: 560px) { .wonder-gallery { gap: 26px 10px; padding: 26px 8px; } .wonder-card, .wonder-card:nth-child(n) { --bubble-size: min(42vw, 210px); margin: 0; } .wonder-card-body p { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .wonder-room::before, .wonder-aurora, .wonder-orbit, .wonder-field::before, .wonder-field::after, .wonder-card { animation: none; } .wonder-card img { transition: none; } }

/* A quiet electrical current through the archive. */
@media (prefers-reduced-motion: no-preference) {
  main > section:not([hidden]), #works > section:not([hidden]) {
    animation: archive-enter .48s cubic-bezier(.22, .8, .3, 1) both;
  }
  @keyframes archive-enter {
    from { opacity: .76; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .page-trail::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, #8dcfc4 48%, #e1bfc9 55%, transparent 70%);
    background-size: 220% 100%; animation: archive-signal 11s linear infinite;
    pointer-events: none;
  }
  @keyframes archive-signal { from { background-position: 120% 0; } to { background-position: -120% 0; } }
  .site-header .wordmark-mark { animation: archive-mark 8s ease-in-out infinite; }
  @keyframes archive-mark { 0%, 100% { box-shadow: 0 0 0 transparent; } 50% { box-shadow: 0 0 18px #b8d9cb78, inset 0 0 12px #dcc6a844; } }
  .room-guide-group-heading, .works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading) { position: relative; isolation: isolate; overflow: hidden; }
  .room-guide-group-heading::after, .works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading)::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: linear-gradient(110deg, transparent 28%, #b1ebdc1c 48%, #e7c8ec17 52%, transparent 72%);
    background-size: 240% 100%; animation: archive-light-pass 16s ease-in-out infinite;
  }
  .room-guide-group-heading > *, .works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading) > * { position: relative; z-index: 1; }
  @keyframes archive-light-pass { 0%, 28% { background-position: 130% 0; } 68%, 100% { background-position: -130% 0; } }
  .room-guide-card { position: relative; overflow: hidden; transition: border-color .22s, background .22s, transform .22s, box-shadow .22s; }
  .room-guide-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, transparent 28%, #93cfc329 48%, transparent 68%); transform: translateX(-75%); transition: opacity .22s, transform .6s ease; }
  .room-guide-card:hover, .room-guide-card:focus-visible { box-shadow: 0 9px 24px #4e6e641f, inset 0 0 0 1px #8dcfc48c; }
  .room-guide-card:hover::after, .room-guide-card:focus-visible::after { opacity: 1; transform: translateX(75%); }
}
.page-trail { position: relative; }
.section-nav-button { position: relative; }
.section-nav-button.is-active::after { content: ""; position: absolute; bottom: 0; left: 18px; right: 18px; height: 2px; background: linear-gradient(90deg, #b98e6f, #9ed9cd, #c5a9dc); }
@media (prefers-reduced-motion: reduce) {
  .room-guide-card::after, .room-guide-group-heading::after, .works-cabinet :is(.symbol-header, .museum-heading, .mythology-heading, .memory-heading, .letter-heading, .dream-heading, .lost-found-heading, .compass-heading, .meditation-heading, .capsule-heading)::after { display: none; }
}

/* Invitation at the end of every archive page. */
.substack-invitation { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: clamp(25px, 5vw, 80px); width: 100%; margin: 0 0 44px; padding: clamp(30px, 5vw, 68px); border: 1px solid #8d877e; background: radial-gradient(circle at 82% 18%, #719d9a3b, transparent 32%), linear-gradient(125deg, #1b2427, #2e2a2b 70%, #20292b); color: #f6ede0; text-align: left; overflow: hidden; }
.substack-invitation::before { content: ""; pointer-events: none; position: absolute; inset: 0; border: 1px solid #bbd5c655; margin: 10px; }
.substack-invitation .folio { color: #c2d9c9; }
.substack-invitation h2 { margin: 18px 0; font: 300 clamp(2.8rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.045em; }
.substack-invitation h2 em { color: #d7bfa1; font-weight: 300; }
.substack-invitation-copy > p:last-child { max-width: 620px; color: #e4e4d9; font: 300 clamp(1.1rem, 2vw, 1.35rem)/1.5 var(--serif); }
.substack-invitation-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; position: relative; }
.substack-invitation-actions a, .substack-invitation-actions button { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 50px; padding: 12px 17px; border: 1px solid #c1b39f91; background: transparent; color: #f9f2e6; text-decoration: none; text-align: left; cursor: pointer; font: 500 .94rem/1.4 var(--sans); transition: background .2s, border-color .2s, transform .2s; }
.substack-invitation-actions :is(a, button):hover, .substack-invitation-actions :is(a, button):focus-visible { background: #41605b77; border-color: #c7dfd3; transform: translateX(4px); }
.substack-invitation-actions .substack-invitation-primary { background: #e7d8bf; color: #242b29; border-color: #e7d8bf; }
.substack-invitation-actions .substack-invitation-primary:hover, .substack-invitation-actions .substack-invitation-primary:focus-visible { background: #f7e8cf; color: #242b29; }
.substack-invitation-actions small { color: #cdd6d0; font: 400 .8rem/1.45 var(--sans); }
@media (max-width: 760px) { .substack-invitation { grid-template-columns: 1fr; } }
footer:has(> .substack-invitation) { flex-wrap: wrap; padding-top: 36px; padding-bottom: 28px; }
footer > .substack-invitation { flex: 0 0 100%; text-transform: none; letter-spacing: normal; }

/* The invitations are shared after the active page, independent of room routing. */
body > .substack-invitation { width: min(1420px, calc(100% - 64px)); margin: 70px auto 0; }
body > .room-guide { margin: 0 auto; }
@media (max-width: 680px) { body > .substack-invitation { width: min(100% - 34px, 1420px); margin-top: 44px; } }

/* Compact room menus replace the removed page-length guide. */
.archive-nav-group { position: relative; min-width: 0; border-right: 1px solid #b9ae9d55; }
.archive-nav-group:last-child { border-right: 0; }
.archive-nav-group > summary { position: relative; height: 100%; min-height: 68px; padding-right: 31px; list-style: none; }
.archive-nav-group > summary::-webkit-details-marker { display: none; }
.archive-nav-group > summary::after { content: "⌄"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #d3b895; font: 500 18px/1 var(--sans); transition: transform .18s; }
.archive-nav-group[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.archive-nav-group[open] > summary, .archive-nav-group > summary:hover, .archive-nav-group > summary:focus-visible { background: #4b4339; color: #fff4e5; }
.archive-nav-menu { position: absolute; top: 100%; left: 0; z-index: 30; width: min(340px, calc(100vw - 34px)); max-height: min(70vh, 620px); padding: 8px; overflow-y: auto; background: #222a2b; border: 1px solid #9a8c79; box-shadow: 0 20px 45px #171b20a8; }
.archive-nav-all .archive-nav-menu { width: min(420px, calc(100vw - 34px)); }
.archive-nav-menu-heading { margin: 14px 10px 5px; color: #d7c2a6; font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.archive-room-link { display: block; padding: 11px 13px; color: #f6eee3; text-decoration: none; font: 400 1.05rem/1.25 var(--serif); border-bottom: 1px solid #d2c2a521; }
.archive-room-link small { display: block; margin-top: 4px; color: #c1cec6; font: 400 .7rem/1.3 var(--mono); letter-spacing: .04em; }
.archive-room-link:hover, .archive-room-link:focus-visible { background: #46615b; color: #fff; }
@media (max-width: 760px) {
  .section-nav { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; overflow: visible; }
  .archive-nav-group { position: static; }
  .archive-nav-all { grid-column: 1 / -1; }
  .archive-nav-group > summary { min-width: 0; min-height: 45px; padding: 9px 26px 9px 12px; }
  .archive-nav-group > summary span { font-size: .9rem; }
  .archive-nav-group > summary small { display: none; }
  .archive-nav-menu, .archive-nav-all .archive-nav-menu { left: 0; right: 0; width: 100%; }
}

/* A moving aura over the courtyard image, beneath its doorway controls. */
.courtyard-stage { isolation: isolate; }
.courtyard-stage::before, .courtyard-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.courtyard-stage::before {
  background: radial-gradient(ellipse 32% 37% at var(--aura-x, 52%) var(--aura-y, 48%), #b6efdf55, #b7a3db24 52%, transparent 78%),
    radial-gradient(ellipse 38% 43% at 79% 18%, #f0d5b52b, transparent 75%);
  mix-blend-mode: screen; opacity: .66;
}
.courtyard-stage::after {
  background: linear-gradient(112deg, transparent 17%, #9fd6ce17 42%, #d9bdde28 52%, transparent 78%);
  mix-blend-mode: screen; opacity: .55;
}
.orb-one { background: radial-gradient(circle, #8bbcaf39, transparent 69%); filter: blur(18px); }
.orb-two { background: radial-gradient(circle, #ad9dc338, transparent 68%); filter: blur(13px); }
@media (prefers-reduced-motion: no-preference) {
  .courtyard-stage img { animation: courtyard-breathe 15s ease-in-out infinite alternate; }
  .courtyard-stage::before { animation: courtyard-halo 12s ease-in-out infinite alternate; }
  .courtyard-stage::after { background-size: 220% 100%; animation: courtyard-light 19s ease-in-out infinite alternate; }
  @keyframes courtyard-breathe { from { filter: brightness(.98) saturate(1); } to { filter: brightness(1.065) saturate(1.08); } }
  @keyframes courtyard-halo { from { opacity: .4; transform: scale(1); } to { opacity: .8; transform: scale(1.11); } }
  @keyframes courtyard-light { from { background-position: 125% 0; opacity: .3; } to { background-position: -100% 0; opacity: .7; } }
}
@media (prefers-reduced-motion: reduce) { .courtyard-stage::before, .courtyard-stage::after { opacity: .25; } }

/* The courtyard is a living portal: slow camera drift, refracted light, and lit doorways. */
.courtyard-stage img { transform-origin: center 55%; will-change: transform; }
.courtyard-stage::before {
  background: radial-gradient(ellipse 35% 46% at var(--aura-x, 51%) var(--aura-y, 48%), #90f7e47d, #bc9eff45 48%, transparent 82%),
    radial-gradient(ellipse 32% 41% at 80% 34%, #f8d69f5c, transparent 82%);
  opacity: .9;
}
.courtyard-stage::after {
  background: linear-gradient(107deg, transparent 24%, #7becf000 34%, #79ecf066 44%, #e8a9f07d 49%, #ffe5ad65 54%, transparent 67%);
  background-size: 250% 100%; opacity: .8;
}
.courtyard-hologram, .courtyard-reflection { position: absolute; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
.courtyard-hologram {
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 12px, #9ffaf315 13px, transparent 14px),
    radial-gradient(circle at 20% 54%, #a0e9e880 0 1px, transparent 3px),
    radial-gradient(circle at 68% 35%, #e8bef58c 0 2px, transparent 4px),
    radial-gradient(circle at 85% 65%, #ffe4aa8c 0 2px, transparent 4px);
  background-size: auto, 24% 31%, 31% 39%, 37% 43%; opacity: .65;
}
.courtyard-reflection {
  left: -10%; right: -10%; bottom: 0; height: 32%; opacity: .75;
  background: repeating-linear-gradient(178deg, transparent 0 13px, #9ff3ef23 14px, transparent 17px, #e5b9e52b 19px, transparent 21px);
  mask-image: linear-gradient(transparent, #000 55%);
}
.courtyard-door::before {
  content: ""; position: absolute; inset: 1% 6% 8%; pointer-events: none;
  border: 1px solid #a3f8ef99; border-radius: 48% 48% 6% 6%;
  box-shadow: inset 0 0 17px #9af5e23d, 0 0 13px #a8ebf079, 0 0 30px #c69ae755;
  background: linear-gradient(110deg, #9df6ee22, transparent 42%, #daacfa24 70%, transparent);
  opacity: .65;
}
.courtyard-door:nth-child(even)::before { border-color: #e8b8f4aa; box-shadow: inset 0 0 17px #e8b8f43d, 0 0 14px #e8b8f47d, 0 0 29px #9df6ee66; }
.courtyard-door:hover::before, .courtyard-door:focus-visible::before { opacity: 1; box-shadow: inset 0 0 24px #b7fff388, 0 0 22px #b7fff3cc, 0 0 42px #e8b8f4a8; }
@media (prefers-reduced-motion: no-preference) {
  .courtyard-stage img { animation: courtyard-drift 12s ease-in-out infinite alternate; }
  .courtyard-stage::after { animation: courtyard-prism 8s linear infinite; }
  .courtyard-hologram { animation: courtyard-scan 10s linear infinite; }
  .courtyard-reflection { animation: courtyard-ripple 6s ease-in-out infinite alternate; }
  .courtyard-door::before { animation: courtyard-portal 4s ease-in-out infinite alternate; }
  .courtyard-door:nth-child(2n)::before { animation-delay: -2s; }
  @keyframes courtyard-drift { from { transform: scale(1.015) translate(-.5%, .2%); filter: brightness(1.01) saturate(1.08); } to { transform: scale(1.075) translate(.7%, -.5%); filter: brightness(1.13) saturate(1.23); } }
  @keyframes courtyard-prism { from { background-position: 140% 0; } to { background-position: -125% 0; } }
  @keyframes courtyard-scan { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 140px, 26px -45px, -32px 50px, 42px -30px; } }
  @keyframes courtyard-ripple { from { transform: translateX(-3%) skewX(-2deg); opacity: .4; } to { transform: translateX(3%) skewX(2deg); opacity: .9; } }
  @keyframes courtyard-portal { from { opacity: .38; filter: hue-rotate(0deg); } to { opacity: .92; filter: hue-rotate(24deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .courtyard-stage img { transform: none; }
  .courtyard-stage::before, .courtyard-stage::after, .courtyard-hologram, .courtyard-reflection { opacity: .3; }
  .courtyard-door::before { opacity: .7; }
}

/* Guided readings and the reader's private journal. */
.deck-card-content[hidden], .deck-reveal[hidden] { display: none; }
.deck-reveal { display: block; width: 100%; min-height: 270px; margin-top: 18px; padding: 24px; border: 1px solid #b8a574; color: #f4e9cf; background: radial-gradient(ellipse at center, #8c778955, transparent 60%), repeating-linear-gradient(45deg, #bda8790d 0 1px, transparent 1px 18px), #192d29; font: 400 24px/1.25 var(--serif); cursor: pointer; box-shadow: inset 0 0 0 7px #192d29, inset 0 0 0 8px #b8a57477; }
.deck-reveal:hover, .deck-reveal:focus-visible { background-color: #29433c; outline: 2px solid #bde8d5; outline-offset: 3px; }
.deck-spread select, .deck-history textarea, .deck-response-form textarea { display: block; width: 100%; min-height: 44px; padding: 12px; background: #fffaf0; color: #23322e; border: 1px solid #776d5f; font: 400 16px/1.5 var(--sans); }
.deck-spread > h4, .deck-history h4, .deck-response-form h4 { font: 300 30px/1.15 var(--serif); }
.deck-spread-card details { margin: 16px 0; font: 400 15px/1.5 var(--sans); }
.deck-spread-card summary { cursor: pointer; }
.deck-response-form button { margin-top: 18px; }
.deck-saved-output { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 18px/1.6 var(--serif); }
.deck-response-result button, .deck-history button { margin: 18px 8px 0 0; }
.deck-room .deck-response-result .secondary-button { color: #23322e; border-color: #776d5f; }
.deck-history { border-top: 1px solid #b5cdbc66; margin-top: 32px; padding-top: 20px; }
.deck-history > p { color: #c9dbd2; font: 400 14px/1.5 var(--sans); }
.deck-history details { padding: 18px 0; border-bottom: 1px solid #b5cdbc44; }
.deck-history summary { cursor: pointer; font: 400 18px/1.5 var(--serif); overflow-wrap: anywhere; }
.deck-history .deck-saved-output { margin: 20px 0; }
.deck-history label { display: block; margin: 18px 0 8px; }
.deck-synthesis .deck-illustration { max-width: 160px; margin: 18px 0; }
#deck-spread > .secondary-button { margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) { .deck-card-content:not([hidden]) { animation: reading-reveal .55s ease both; } }

.deck-sentence-form { position: relative; z-index: 1; margin: 28px 0; padding: 20px; border: 1px solid #b9cfbf88; background: #15241f; }
.deck-sentence-form textarea { display: block; width: 100%; min-height: 120px; padding: 15px; resize: vertical; pointer-events: auto; user-select: text; -webkit-user-select: text; background: #fffaf0; color: #23322e; border: 1px solid #b9cfbf; font: 400 17px/1.5 var(--sans); }
.deck-sentence-form textarea:focus-visible, .deck-spread-card textarea:focus-visible { outline: 3px solid #b6ddc9; outline-offset: 3px; }
.deck-sentence-form button, .deck-card-content > .primary-button { margin-top: 16px; }
.deck-sentence-form > p { color: #d4e0d7; font-size: 14px; }
.deck-response-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: clamp(22px, 5vw, 40px); border: 1px solid #c2b593; background: #f1e8d9; color: #25362e; box-shadow: 0 0 70px #afd9cf44; }
.deck-response-dialog h2 { margin: 24px 0; font: 300 clamp(28px, 4vw, 42px)/1.1 var(--serif); }
.deck-response-dialog .deck-illustration { width: min(190px, 100%); margin: 18px auto 28px; }
.deck-response-dialog > span { font: 500 12px/1.5 var(--mono); letter-spacing: .08em; }
.deck-response-dialog blockquote { margin: 16px 0 24px; padding-left: 18px; border-left: 2px solid #887351; white-space: pre-wrap; overflow-wrap: anywhere; font: italic 400 23px/1.4 var(--serif); }
.deck-response-dialog p { font: 400 20px/1.5 var(--serif); }
.deck-response-dialog .secondary-button { color: #25362e; border-color: #887351; }
.deck-response-dialog .deck-response-prompt { padding-top: 18px; border-top: 1px solid #88735166; font-style: italic; }
@media (prefers-reduced-motion: no-preference) { .deck-response-dialog[open] { animation: reading-reveal .35s ease both; } }
