@font-face {
  font-family: "Atkinson Hyperlegible Next Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Noto Naskh Arabic Variable";
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url("fonts/noto-naskh-arabic-arabic-wght-normal.woff2") format("woff2-variations");
}

.image-overlay {
  align-items: center;
  background: rgba(24, 24, 23, .92);
  border: 0;
  cursor: zoom-out;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 3vw;
  position: fixed;
  width: 100%;
  z-index: 10000;
}

.image-overlay img {
  max-height: 94vh;
  max-width: 94vw;
  object-fit: contain;
}

:root {
  --ink: #181817;
  --paper: #d3c9ae;
  --muted: #827d6f;
  --line: rgba(24, 24, 23, 0.28);
  --paper-line: rgba(211, 201, 174, 0.3);
  --measure: 76rem;
  --caption-size: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
.commons-entry .button-link:hover,
.commons-entry .button-link:focus-visible {
  background: var(--paper);
  color: var(--ink);
}
  font-family: "Atkinson Hyperlegible Next Variable", "Atkinson Hyperlegible",
    Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

body {
  overflow-x: hidden;
}

.editor-home { margin: 8rem auto; max-width: 46rem; padding: 0 1.5rem; }
.editor-home nav { border-top: 1px solid var(--line); display: grid; margin: 2.5rem 0; }
.editor-home nav a { border-bottom: 1px solid var(--line); padding: .8rem 0; text-transform: capitalize; }
.editor-safety { font-size: .82rem; }
.revision-history { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; }
.revision-history h2 { font-size: 1rem; }
.revision-history ol { list-style: none; margin: 0; padding: 0; }
.revision-history li { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding: .8rem 0; }
.revision-history li > span { display: grid; min-width: 0; }
.revision-history li small, .revision-history li span span { font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.revision-history button { background: transparent; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); cursor: pointer; padding: .4rem .65rem; }
.editor-active [data-editor-id] { cursor: text; }
.editor-active [data-editor-id]:hover, .editor-selected { outline: 2px solid var(--ink); outline-offset: 5px; }
.edit-panel { background: var(--paper); border: 1px solid var(--ink); bottom: 1rem; box-shadow: 0 8px 40px rgba(0,0,0,.2); color: var(--ink); left: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding: 1rem; position: fixed; width: min(28rem, calc(100vw - 2rem)); z-index: 10000; }
.edit-panel-title, .edit-actions { align-items: center; display: flex; justify-content: space-between; gap: .75rem; }
.edit-panel-title { border-bottom: 1px solid var(--line); margin-bottom: .8rem; padding-bottom: .6rem; }
.edit-panel label, .edit-panel small { display: block; font-size: .75rem; font-weight: 700; margin: .55rem 0; }
.edit-panel textarea { background: rgba(255,255,255,.18); border: 1px solid var(--ink); border-radius: 0; color: var(--ink); font: inherit; line-height: 1.4; padding: .65rem; resize: vertical; width: 100%; }
.edit-actions { justify-content: flex-end; margin-top: .8rem; }
.edit-actions button { background: transparent; border: 1px solid var(--ink); border-radius: 0; color: var(--ink); cursor: pointer; font: inherit; font-size: .8rem; padding: .5rem .8rem; }
.edit-actions button:last-child { background: var(--ink); color: var(--paper); }
.edit-status { font-size: .75rem; margin: .65rem 0 0; }

.access-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 2rem;
}

.access-panel {
  max-width: 25rem;
  text-align: center;
  width: 100%;
}

.access-logo {
  height: auto;
  margin: 0 auto 3.5rem;
  width: min(18rem, 76vw);
}

.access-panel h1 {
  font-size: 1.25rem;
  margin: 0 0 0.65rem;
}

.access-panel > p {
  margin: 0 0 2rem;
}

.access-panel form {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.access-panel label {
  font-size: 0.82rem;
  font-weight: 700;
}

.access-panel input,
.access-panel button {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
}

.access-panel button {
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.access-panel button:hover,
.access-panel button:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.access-panel button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.access-error {
  font-size: 0.82rem;
  margin: 0.35rem 0 0;
}

/* Reading direction follows the language of each passage. */
p,
blockquote,
figcaption,
li,
dd,
td,
th {
  unicode-bidi: plaintext;
}

figcaption {
  font-size: var(--caption-size);
  line-height: 1.45;
}

.chapter-copy p:not(.detached-verse),
.manual-disclosure-content > p,
.commons-page > header .lead,
.commons-page > section > p,
.commons-entry > p:not(.eyebrow),
.terms dd,
.inline-footnote-text,
.chapter-footnote span {
  hyphens: none;
  text-justify: inter-word;
  text-align: justify;
  text-align-last: start;
  word-break: normal;
}

.editorial-note {
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.015em;
  margin: 0 0 3.75rem;
  padding: 0.85rem 0;
  text-align: left;
}

.why-excerpt {
  max-width: 70ch;
}

.why-epigraph {
  margin: 0 auto 4.25rem;
  text-align: center;
}

.chapter-epigraph.why-epigraph blockquote {
  direction: ltr;
  display: grid;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  margin: 0 auto;
}

.why-epigraph blockquote span {
  display: block;
}

.equalised-verse {
  display: inline-grid;
  max-width: 100%;
  width: 24rem;
}

.equalised-verse span {
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.why-epigraph p {
  font-size: 0.88rem;
  margin: 1.1rem 0 0;
  text-align: center !important;
  text-align-last: center !important;
}

.why-excerpt > p {
  margin: 0 0 1.5em;
}

.chapter-copy [dir="rtl"],
.manual-disclosure-content [dir="rtl"],
[lang="fa"],
[lang="ar"] {
  direction: rtl;
  font-family: "Noto Naskh Arabic Variable", "Noto Naskh Arabic", serif;
}

.detached-verse,
.chapter-epigraph blockquote {
  direction: inherit;
  text-align: center !important;
  text-align-last: center !important;
  white-space: pre-line;
}

.coda-signature {
  font-size: 0.9em;
  margin-top: 3.1em;
  text-align: left !important;
  text-align-last: left !important;
}

.coda-signature,
.coda-signature em {
  font-style: normal;
}

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

a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

.chapter-footnote {
  display: grid;
  font-size: 0.9rem;
  grid-template-columns: 1rem 1fr;
  margin-top: 3rem;
  padding-top: 1rem;
}

.chapter-footnote span {
  max-width: 60ch;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 100%;
  min-height: 5.5rem;
  padding: 1.5rem max(1.25rem, calc((100vw - var(--measure)) / 2 + 1.25rem));
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: clamp(5.25rem, 7vw, 7rem);
}

.wordmark img {
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.mobile-brand,
.nav-menu {
  display: none;
}

.site-header nav {
  display: flex;
  font-size: clamp(0.7rem, 0.86vw, 0.84rem);
  gap: clamp(0.75rem, 1.35vw, 1.5rem);
  min-width: 0;
}

.desktop-home {
  display: none;
}

.site-header nav a {
  border-bottom: 1px solid transparent;
  padding: 0.35rem 0;
}

.site-header nav a:hover {
  border-color: currentColor;
}

.hero {
  --hero-mark-height: clamp(10.5rem, 15vw, 13.5rem);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: var(--measure);
  min-height: calc(100vh - 5.5rem);
  padding: 3rem 2rem 4rem;
}

.hero-masthead {
  align-items: flex-start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr);
  width: 100%;
}

.hero-identity {
  min-width: 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
  text-transform: uppercase;
}

.hero h1,
.commons-page > header h1 {
  align-self: end;
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 400;
  grid-column: 1;
  letter-spacing: -0.085em;
  line-height: 0.78;
  margin: 0;
}

.hero h1 {
  height: var(--hero-mark-height);
  width: auto;
}

.hero-logo {
  display: block;
  height: 100%;
  max-width: none;
  pointer-events: none;
  user-select: none;
  width: auto;
}

.hero-animation {
  height: var(--hero-mark-height);
  justify-self: end;
  overflow: visible;
  position: relative;
  width: min(100%, 34rem);
}

.hero-animation video {
  height: calc(var(--hero-mark-height) * 1.18);
  left: 100%;
  max-width: none;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}

.hero-animation-portrait {
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

.hero-animation-portrait video {
  height: var(--hero-mark-height);
  left: auto;
  position: static;
  top: auto;
  transform: none;
}

.hero-animation-public {
  display: flex;
  justify-content: flex-end;
}

.hero-animation-public video {
  clip-path: inset(0 0 0 2px);
  height: calc(var(--hero-mark-height) * 0.96);
  left: auto;
  position: static;
  top: auto;
  transform: none;
}

.homepage-switch {
  display: inline-block;
  font-size: 0.78rem;
  margin-top: 2rem;
}

.title-line {
  display: flex;
  justify-content: flex-start;
  transform-origin: left center;
  width: max-content;
  white-space: nowrap;
}

.title-line-lingua {
  transform: scaleX(1.115);
}

.title-line-membra {
  transform: scaleX(1);
}

.title-line + .title-line {
  margin-top: 0.04em;
}

.hero-dedication {
  font-size: 1rem;
  margin: 0.55rem 0 0 0.08em;
}

.hero-note {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  margin: clamp(4rem, 10vh, 8rem) auto 0;
  max-width: 38rem;
  padding: 0;
  text-align: center;
  width: 100%;
}

.hero-persian {
  font-size: 1.15rem;
  margin-bottom: 1.5rem !important;
  text-align: center;
}

.hero-note blockquote {
  margin: 0;
  text-align: center;
}

.hero-note blockquote span {
  display: block;
}

.hero-attribution {
  font-size: 0.88rem;
  margin: 1.1rem 0 0;
  text-align: center;
}

.homepage-introduction {
  font-size: 1rem;
  line-height: 1.6;
  margin: 2.75rem auto 0;
  max-width: 55ch;
  padding-top: 2.25rem;
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
}

.homepage-introduction p {
  margin: 0;
}

.homepage-introduction p + p {
  margin-top: 1.25em;
}

.front-matter-disclosure > summary strong {
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.front-matter-disclosure {
  border-bottom: 1px solid var(--line);
}

.front-matter-disclosure > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1.25rem;
  list-style: none;
  padding: 1.4rem 0;
}

.front-matter-disclosure > summary::-webkit-details-marker {
  display: none;
}

.front-matter-disclosure[open] > summary .disclosure-mark::after {
  transform: rotate(0);
}

.front-matter-disclosure-content {
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  padding: 2rem 0 3rem;
}

.front-matter-disclosure-content > p {
  hyphens: none;
  max-width: 65ch;
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
}

.text-link {
  border-bottom: 1px solid currentColor;
  display: flex;
  font-size: 0.9rem;
  justify-content: space-between;
  padding: 0 0 0.65rem;
}

.chapters,
.terms {
  margin: 0 auto;
  max-width: var(--measure);
  padding: 8rem 2rem;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 3fr;
  margin-bottom: 4rem;
}

.section-intro h2,
.commons-entry h2 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin: 0;
}

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

.chapter-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
  grid-template-columns: max-content 1fr;
  padding: 1.4rem 0;
  transition: padding 160ms ease;
}

.chapter-row:hover {
  padding-left: 0.8rem;
}

.chapter-row-unnumbered {
  grid-template-columns: 1fr;
}

.chapter-number {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  overflow-wrap: normal;
  white-space: nowrap;
}

.chapter-row strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.chapter-row small {
  display: block;
  font-size: 0.86rem;
  margin-top: 0.55rem;
}

.chapter-arrow {
  display: none;
}

.commons-entry {
  background: var(--ink);
  color: var(--paper);
  min-height: 80vh;
  padding: 7rem max(2rem, calc((100vw - var(--measure)) / 2 + 2rem));
}

.commons-entry h2 {
  margin: 5rem 0 2rem;
  max-width: 10ch;
}

.commons-entry > p:not(.eyebrow) {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  max-width: 35rem;
}

.button-link {
  border: 1px solid currentColor;
  display: inline-block;
  margin-top: 2rem;
  padding: 0.9rem 1.3rem;
}

.button-link:hover {
  background: currentColor;
  color: var(--ink);
}

.terms dl {
  border-top: 1px solid var(--line);
  margin: 0 0 0 25%;
}

.terms dl div {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 1.2rem 0;
}

.terms dt {
  font-weight: 700;
}

.terms dd {
  margin: 0;
}

.lexicon-page {
  margin: 0 auto;
  max-width: 58rem;
  min-height: calc(100vh - 5.5rem);
  padding: 6rem 3rem 9rem;
}

.lexicon-page > header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 3rem;
}

.lexicon-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
  margin: 0;
}

.lexicon-list {
  margin: 0;
}

.lexicon-list > div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(9rem, 1fr) 2fr;
  padding: 1.35rem 0;
}

.lexicon-list dt {
  font-weight: 700;
}

.lexicon-list dd {
  margin: 0;
  hyphens: none;
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
  word-break: normal;
}

.lexicon-list > div {
  scroll-margin-top: 6.5rem;
}

.lexicon-crosslink {
  border-bottom: 1px solid currentColor;
}

.lexicon-crosslink:hover {
  border-bottom-width: 2px;
}

.term-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.defined-term {
  display: inline;
}

.linked-term {
  white-space: nowrap;
}

.term-definition {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  font-size: 0.9rem;
  gap: 0.75rem;
  grid-template-columns: minmax(7rem, auto) 1fr auto;
  margin: 1rem 0;
  padding: 0.85rem 0;
  width: 100%;
}

.term-definition strong {
  font-weight: 700;
}

.term-definition button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.chapter-page,
.commons-page {
  margin: 0 auto;
  max-width: var(--measure);
  min-height: calc(100vh - 5.5rem);
  padding: 6rem 2rem 9rem;
}

.chapter-page {
  display: grid;
  gap: 6rem;
  grid-template-columns: minmax(17rem, 1fr) minmax(18rem, 1fr);
}

.chapter-page header h1 {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.85;
  margin: 3rem 0 0.2rem;
}

.chapter-subtitle {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  max-width: 24rem;
}

.chapter-copy {
  align-self: end;
  font-size: 1.1rem;
  max-width: 38rem;
}

.manual-page {
  display: block;
  max-width: 58rem;
  padding: 0 3rem 9rem;
}

.manual-page > header {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 6rem clamp(2rem, 7vw, 5.5rem) 4rem;
}

.manual-page > header h1 {
  margin-top: 0;
}

.manual-page .chapter-subtitle {
  max-width: none;
}

.manual-page .chapter-copy {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 1.1rem;
  max-width: none;
  padding: 0 clamp(2rem, 7vw, 5.5rem);
}

.manual-page .manual-contents {
  margin-bottom: 0;
  padding: 2.5rem 0 3rem;
}

.manual-page .manual-accordions {
  border-top: 0;
}

.front-matter {
  min-height: auto;
  padding-top: 4rem;
}

.front-matter .chapter-copy {
  padding-bottom: 5rem;
}

.chapter-epigraph {
  margin: 0 0 3.5rem;
  padding: 0;
}

.chapter-epigraph blockquote {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.35;
  margin: 0;
}

.chapter-epigraph blockquote span {
  display: block;
}

.chapter-epigraph sup {
  font-size: 0.65em;
  margin-left: 0.08em;
  vertical-align: super;
}

.chapter-epigraph figcaption {
  font-size: var(--caption-size);
  margin-top: 1rem;
}

.lead {
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.chapter-copy aside {
  font-size: 0.9rem;
  margin-top: 4rem;
  padding-top: 1rem;
}

.somatic-scripts > h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0 0 4rem;
}

.manual-contents {
  margin-bottom: 5rem;
  padding: 2rem 0;
}

.manual-contents h2 {
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

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

.manual-contents > ol > li {
  padding: 0.75rem 0;
}

.manual-contents > ol > li:first-child {
  border-top: 0;
}

.manual-contents ol ol {
  font-size: 0.9rem;
  margin: 0.6rem 0 0 1.25rem;
}

.manual-contents ol ol li {
  margin: 0.35rem 0;
}

.manual-contents a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.manual-headings > section {
  border-top: 1px solid var(--line);
  padding: 3rem 0 4rem;
}

.manual-headings h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin: 0 0 3rem;
}

.manual-headings h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 400;
  margin: 0;
  padding: 1rem 0;
}

.manual-accordions {
  border-top: 1px solid var(--line);
}

.manual-disclosure {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.manual-accordions > .manual-disclosure > summary {
  background: var(--paper);
  color: var(--ink);
}

.manual-disclosure-content > .manual-disclosure > summary {
  background: var(--paper);
  color: var(--ink);
}

.manual-disclosure .manual-disclosure {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.manual-disclosure summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1.25rem;
  list-style: none;
  padding: 1.3rem 1.5rem;
}

.manual-disclosure summary::-webkit-details-marker {
  display: none;
}

.manual-disclosure summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.manual-disclosure summary h2,
.manual-disclosure summary h3,
.manual-disclosure summary h4 {
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
}

.manual-disclosure.level-2 > summary h2 {
  font-size: clamp(1.6rem, 2.35vw, 2.25rem);
}

.manual-disclosure.level-3 > summary h3 {
  font-size: clamp(1.2rem, 1.65vw, 1.55rem);
}

.manual-disclosure.level-4 > summary h4 {
  font-size: 1.1rem;
}

.disclosure-mark {
  height: 1.25rem;
  position: relative;
  width: 1.25rem;
}

.disclosure-mark::before,
.disclosure-mark::after {
  background: currentColor;
  content: "";
  left: 0;
  position: absolute;
  top: 0.58rem;
  width: 1.25rem;
  height: 1px;
}

.disclosure-mark::after {
  transform: rotate(90deg);
  transition: transform 140ms ease;
}

.manual-disclosure[open] > summary .disclosure-mark::after {
  transform: rotate(0);
}

.manual-disclosure-content {
  background: var(--paper);
  color: var(--ink);
  padding: 2rem 1.5rem 2.5rem;
}

.manual-disclosure-content > .manual-disclosure:first-of-type {
  margin-top: 2rem;
}

.manual-disclosure-content > .manual-disclosure:last-child {
  margin-bottom: -2.5rem;
}

.manual-disclosure-content > p {
  max-width: 65ch;
}

.manual-disclosure-content > p:first-child {
  margin-top: 0;
}

.contents-level-3 {
  padding-left: 1.25rem !important;
}

.contents-level-4 {
  padding-left: 2.5rem !important;
}

.chapter-intro {
  padding: 0 0 3rem;
}

.chapter-intro > p,
.master-image,
.manual-disclosure-content > p {
  max-width: 65ch;
}

.master-image {
  margin: 2rem 0;
}

.photo-series {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 2rem 0;
}

.photo-series .master-image {
  margin: 0;
}

.photo-series .master-image:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.photo-series figcaption {
  margin-top: 0.65rem;
}

.master-image img {
  display: block;
  height: auto;
  max-width: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.photo-enlarge {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.photo-lightbox {
  align-items: center;
  background: rgba(24, 24, 23, 0.94);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 100;
}

.photo-lightbox img {
  max-height: calc(100svh - 2rem);
  max-width: calc(100vw - 2rem);
  object-fit: contain;
}

.photo-lightbox > button {
  appearance: none;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  height: 2.5rem;
  position: fixed;
  right: 1rem;
  top: 1rem;
  width: 2.5rem;
  z-index: 1;
}

.master-image figcaption {
  font-size: var(--caption-size);
  margin-top: 0;
  max-width: 65ch;
}

.waveform-player {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 4rem minmax(0, 1fr);
  margin: 0 0 0 -5.25rem;
  padding: 0;
  width: calc(100% + 5.25rem);
}

.waveform-player img {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
}

.waveform-player-mark {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  font-size: 0.9rem;
  grid-column: 1;
  grid-row: 1;
  height: 4rem;
  justify-content: center;
  width: 4rem;
}

.master-table-wrap {
  border: 1px solid var(--ink);
  margin: 2rem 0;
  overflow-x: auto;
  width: 100%;
}

.master-table {
  border-collapse: collapse;
  font-size: 0.78rem;
  line-height: 1.35;
  min-width: 78rem;
  table-layout: fixed;
  width: 100%;
}

.master-table th,
.master-table td {
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  padding: 1rem;
  text-align: start;
  vertical-align: top;
}

.master-table th:last-child,
.master-table td:last-child {
  border-right: 0;
}

.master-table tr:last-child th,
.master-table tr:last-child td {
  border-bottom: 0;
}

.master-table p {
  margin: 0;
}

.master-table p + p {
  margin-top: 0.65rem;
}

.inline-footnote {
  display: inline;
}

.inline-footnote > button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin: 0 0.08em;
  padding: 0 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.inline-footnote > button:focus-visible,
.inline-footnote-text > button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.inline-footnote-text {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  font-size: 0.9rem;
  gap: 0.75rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  margin: 1rem 0;
  padding: 1rem 0;
  width: 100%;
}

.inline-footnote-number {
  font-weight: 700;
}

.inline-footnote-text > button {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  grid-column: 2;
  justify-self: start;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footnote-paragraph {
  display: block;
}

.footnote-paragraph + .footnote-paragraph {
  margin-top: 0.75rem;
}

.typology-table-wrap {
  border: 1px solid var(--ink);
  margin-top: 2rem;
  overflow-x: auto;
  width: 100%;
}

.typology-table {
  border-collapse: collapse;
  font-size: 0.78rem;
  line-height: 1.35;
  min-width: 78rem;
  table-layout: fixed;
  width: 100%;
}

.typology-table th,
.typology-table td {
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.typology-table tr:last-child th,
.typology-table tr:last-child td {
  border-bottom: 0;
}

.typology-table th:last-child,
.typology-table td:last-child {
  border-right: 0;
}

.typology-table thead th,
.typology-table tbody th {
  font-weight: 700;
}

.typology-table th:nth-child(1),
.typology-table td:nth-child(1) {
  width: 11%;
}

.typology-table th:nth-child(2),
.typology-table td:nth-child(2) {
  width: 13%;
}

.typology-table th:nth-child(3),
.typology-table td:nth-child(3) {
  width: 22%;
}

.typology-table th:nth-child(4),
.typology-table td:nth-child(4) {
  width: 16%;
}

.typology-table th:nth-child(5),
.typology-table td:nth-child(5) {
  width: 38%;
}

.manual-disclosure-content > .manual-disclosure {
  margin-top: 2rem;
}

.manual-disclosure-content > .manual-disclosure + .manual-disclosure {
  margin-top: 0;
}

.somatic-scripts > section {
  border-top: 1px solid var(--line);
  padding: 3rem 0 1rem;
}

.somatic-scripts h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 2rem;
}

.somatic-scripts h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 3rem 0 1.5rem;
}

.script-date {
  margin: 2rem 0;
}

.script-date p {
  margin: 0.7rem 0;
}

.somatic-score {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.04em;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.chapter-next {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding: 4rem max(2rem, calc((100vw - var(--measure)) / 2 + 2rem));
}

.chapter-next > span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.chapter-next a {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.chapter-next small {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0;
  margin-top: 1rem;
}

.commons-page > header {
  min-height: 80vh;
}

.commons-page > header h1 {
  margin: 8rem 0 4rem;
}

.commons-page > header .lead {
  max-width: 36rem;
}

.commons-page > section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 2fr 2fr;
  padding: 5rem 0;
}

.commons-page > section h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0;
}

.commons-page > section > p:last-of-type {
  font-size: 1.08rem;
  margin: 0;
}

.commons-actions .button-link {
  grid-column: 3;
  justify-self: start;
}

.site-footer {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  font-size: 0.78rem;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: var(--measure);
  padding: 4rem 2rem 2rem;
}

.footer-credits {
  display: grid;
  gap: 0.25rem;
}

.footer-credits a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer p {
  margin: 0;
}

.footer-contact {
  border: 1px solid currentColor;
  justify-self: end;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.footer-contact:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 3.25rem;
  }

  .site-header {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: block;
    min-height: 0;
    overflow-x: hidden;
    padding: 0 0.75rem;
    position: sticky;
    scrollbar-width: none;
    top: 0;
    z-index: 50;
  }

  .site-header::-webkit-scrollbar { display: none; }

  .wordmark {
    display: block;
    margin: 0.55rem auto 0.15rem;
    width: 4.4rem;
  }

  .nav-menu { display: none; }

  .desktop-nav { display: flex !important; }

  .desktop-home { display: none; }

  .equalised-verse {
    width: min(24rem, 100%);
  }

  .equalised-verse span {
    overflow-wrap: break-word;
    text-align: center;
    text-align-last: center;
    white-space: normal;
  }

  .site-header nav {
    align-items: center;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0 0.95rem;
    justify-content: center;
    min-width: 0;
    white-space: normal;
  }

  .site-header nav a {
    border-bottom: 0;
    padding: 0.42rem 0;
    text-align: center;
  }

  .site-header nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    --hero-mark-height: clamp(8.5rem, 39vw, 11rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100svh - 4.25rem);
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .hero-masthead {
    gap: 1.75rem;
    grid-template-columns: 1fr;
  }

  .hero-identity {
    justify-self: center;
  }

  .hero h1 {
    align-self: center;
    height: auto;
    margin: 0;
    text-align: center;
  }

  .hero-logo {
    height: auto;
    margin: 0 auto;
    width: min(72vw, 18rem);
  }

  .hero-animation {
    justify-self: center;
    width: min(100%, 28rem);
  }

  .hero-animation video {
    left: 50%;
    transform: translate(-68%, -50%);
  }

  .hero-animation-portrait {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .hero-animation-portrait video {
    height: var(--hero-mark-height);
    left: auto;
  }

  .hero-animation-public {
    align-items: center;
    display: flex;
    justify-content: center;
  }

  .hero-animation-public video {
    height: calc(var(--hero-mark-height) * 0.96);
    left: auto;
    position: static;
    top: auto;
    transform: none;
  }

  .hero-dedication {
    margin: 0.45rem 0 0;
    text-align: center;
  }

  .hero-colophon {
    align-self: start;
    justify-self: start;
    padding: 2rem 0 0;
  }

  .hero-note {
    margin-top: 3rem;
    padding: 0;
  }

  .section-intro,
  .chapter-page,
  .chapter-next,
  .commons-page > section {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 2rem;
  }

  .chapter-row {
    grid-template-columns: max-content 1fr auto;
  }

  .terms dl {
    margin-left: 0;
  }

  .terms dl div {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .lexicon-page {
    padding: 3rem 1.2rem 7rem;
  }

  .lexicon-list > div {
    gap: 0.4rem;
    grid-template-columns: 1fr;
  }

  .term-definition {
    grid-template-columns: 1fr auto;
  }

  .term-definition span {
    grid-column: 1 / -1;
  }

  .chapter-page {
    gap: 4rem;
    padding: 3rem 0.5rem 7rem;
  }

  .manual-page {
    padding: 0 0.4rem 7rem;
  }

  .manual-page > header {
    padding: 3rem 0.8rem 2.25rem;
  }

  .manual-page .chapter-copy {
    padding: 0 0.8rem;
  }

  .chapter-page header h1 {
    margin-bottom: 0.08rem;
  }

  .chapter-subtitle {
    margin-top: 0;
  }

  .waveform-player {
    gap: 0.75rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    margin-left: 0;
    width: 100%;
  }

  .waveform-player-mark {
    height: 3rem;
    width: 3rem;
  }

  .chapter-next {
    gap: 2rem;
  }

  .commons-page > header h1 {
    margin-top: 6rem;
  }

  .commons-page > section {
    gap: 1.4rem;
  }

  .commons-actions .button-link {
    grid-column: 1;
  }

  .site-footer {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .chapter-row {
    transition: none;
  }
}

/* Password-protected on-page editor. */
.lm-editor-button,
.lm-editor-toolbar button,
.lm-editor-login button,
.lm-editor-login input {
  border: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
}

.lm-editor-button {
  background: var(--ink);
  bottom: 1rem;
  color: var(--paper);
  cursor: pointer;
  padding: 0.65rem 1rem;
  position: fixed;
  right: 1rem;
  z-index: 900;
}

.lm-editor-shade {
  align-items: center;
  background: rgba(17, 17, 15, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 1rem;
  position: fixed;
  z-index: 1200;
}

.lm-editor-login,
.lm-editor-toolbar {
  background: var(--paper);
  color: var(--ink);
}

.lm-editor-login {
  max-width: 28rem;
  padding: 1.5rem;
  width: 100%;
}

.lm-editor-login h2 { font-size: 1.25rem; margin: 0 0 1.25rem; }
.lm-editor-login label { display: block; margin-bottom: 0.4rem; }
.lm-editor-login input { background: white; color: var(--ink); padding: 0.65rem; width: 100%; }
.lm-editor-error { color: #8a1f17; min-height: 1.4em; }
.lm-editor-actions { display: flex; gap: 0.6rem; justify-content: flex-end; }
.lm-editor-actions button,
.lm-editor-toolbar button { background: transparent; color: inherit; cursor: pointer; padding: 0.5rem 0.75rem; }
.lm-editor-actions button:last-child,
.lm-editor-toolbar button:last-child { background: var(--ink); color: var(--paper); }
.lm-editor-actions button:disabled,
.lm-editor-toolbar button:disabled { cursor: default; opacity: 0.45; }

.lm-editor-toolbar {
  align-items: center;
  border: 1px solid var(--ink);
  bottom: 1rem;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 0.55rem;
  left: 50%;
  max-width: calc(100vw - 2rem);
  padding: 0.65rem;
  position: fixed;
  transform: translateX(-50%);
  z-index: 1100;
}

.lm-editor-message { font-size: 0.78rem; margin-right: 0.35rem; }
.lm-editor-active [data-editor-id] { cursor: text; }
.lm-editor-active [data-editor-id]:hover { outline: 1px dashed var(--ink); outline-offset: 4px; }
.lm-editor-selected { outline: 2px solid var(--ink) !important; outline-offset: 5px !important; }

@media (max-width: 760px) {
  .lm-editor-toolbar { align-items: stretch; bottom: 0.5rem; flex-wrap: wrap; width: calc(100vw - 1rem); }
  .lm-editor-message { flex: 1 0 100%; }
  .lm-editor-toolbar button { flex: 1; }
}

/* Public navigation and interaction corrections. */
html {
  scroll-padding-top: 6rem;
}

:where(h1, h2, h3, h4, section, details, [id]) {
  scroll-margin-top: 6rem;
}

a:hover,
a:focus-visible,
.term-trigger:hover,
.term-trigger:focus-visible,
.inline-footnote > button:hover,
.inline-footnote > button:focus-visible,
.term-definition button:hover,
.term-definition button:focus-visible,
.inline-footnote-text > button:hover,
.inline-footnote-text > button:focus-visible,
summary:hover,
summary:focus-visible {
  color: #4a546d;
}

a:focus-visible,
.term-trigger:focus-visible,
.inline-footnote > button:focus-visible,
.term-definition button:focus-visible,
.inline-footnote-text > button:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.site-header {
  background: #11110f;
  border: 0;
  border-bottom: 1px solid rgba(211, 201, 174, 0.2);
  color: var(--paper);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .wordmark img {
  filter: invert(86%) sepia(12%) saturate(401%) hue-rotate(3deg) brightness(93%);
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header summary:hover,
.site-header summary:focus-visible {
  border-color: transparent;
  color: #9da8c2;
}

.manual-page > header,
.manual-page .chapter-copy {
  border-left: 0;
  border-right: 0;
}

.term-definition,
.inline-footnote-text {
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 5.75rem;
  }

  :where(h1, h2, h3, h4, section, details, [id]) {
    scroll-margin-top: 5.75rem;
  }

  .site-header {
    background: #11110f;
    border-bottom-color: rgba(211, 201, 174, 0.2);
    overflow-x: auto;
    padding: 0 0.75rem 0.25rem;
  }

  .site-header nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
    white-space: nowrap;
  }

  .site-header nav a {
    flex: 0 0 auto;
  }

  .photo-series {
    grid-template-columns: 1fr;
  }

  .photo-series .master-image:last-child:nth-child(odd) {
    grid-column: auto;
  }
}
.homepage-switch{display:none!important}

/* Shared wordmark interaction: match the navigation hover colour. */
.site-header .wordmark {
  position: relative;
}

.site-header .wordmark::after {
  background: #9da8c2;
  content: "";
  inset: 0;
  -webkit-mask: url("lingua-membra-logo.png") center / 100% 100% no-repeat;
  mask: url("lingua-membra-logo.png") center / 100% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.15s ease;
}

.site-header .wordmark img {
  transition: opacity 0.15s ease;
}

.site-header .wordmark:hover img,
.site-header .wordmark:focus-visible img {
  opacity: 0;
}

.site-header .wordmark:hover::after,
.site-header .wordmark:focus-visible::after {
  opacity: 1;
}
.site-header .wordmark:hover::after,
.site-header .wordmark:focus-visible::after {
  opacity: 1;
}

iframe[src*="youtube.com/embed"],
iframe[src*="youtube-nocookie.com/embed"] {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}