/* =========================
   BASE
========================= */


* {
    box-sizing:border-box;
}



body {

    margin:0;

    background:#e4dfd5;

    color:#241f19;

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size:16px;

    line-height:1.75;

}




.archive-world {

    max-width:800px;

    margin:auto;

    padding:30px 30px 50px;

}







/* =========================
   LEO ROOM
========================= */


.leo-room {

    min-height:80vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

}



.leo-portrait {

    width:600px;

    max-width:60%;

    margin-bottom:5px;

    align-content: center;  

}



.leo-portrait img {

    width:100%;

    display:block;

}




.leo-conversation {

    max-width:360px;

    font-size:1.05rem;

    line-height:1.7;

}



.leo-conversation p {

    margin:18px 0;

}



.leo-line {

    color:#5c5146;

    font-size:.78rem;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:-10px !important;

}



.visitor-line {

    margin-left:50px !important;

    color:#6e6256;

}




/* =========================
   ENTRY
========================= */


.entry-room {

    max-width:360px;

    margin:45px auto;

    font-size:1.05rem;

    line-height:1.8;

}



.entry-text {

    text-align:justify;

    hyphens:auto;

}



.entry-room p {

    margin:25px 0;

}



/* =========================
   BOOK ENTRY
========================= */


.excerpt-door {
.archive-door
    text-align:center;

    margin:45px 0;

}



.excerpt-door a {

    text-decoration:none;

    color:#241f19;

    font-size:1.15rem;

    border-bottom:
    1px solid #8c7965;

    padding-bottom:6px;

    transition:
    opacity .3s ease;

}



.excerpt-door a:hover {

    opacity:.6;

}



/* =========================
   ARCHIVE DRAWER
========================= */


.archive-door {

    text-align:center;

    margin:50px auto;

}



.archive-toggle {

    background:none;

    border:none;

    border-bottom:

    1px solid #8c7965;

    padding:8px 18px;

    cursor:pointer;

    font-family:inherit;

    font-size:1rem;

    color:#241f19;

}



.archive-hidden {

    max-width:360px;

    margin:25px auto 0;

    display:none;

}



.archive-hidden.open {

    display:block;

}



.archive-hidden a {

    display:block;

    padding:12px;

    text-decoration:none;

    color:#5c5146;

    border-bottom:

    1px solid #d8d0c4;

}



.archive-hidden a:hover {

    color:#241f19;

}


.fragment-toggle {

    background:none;

    border:none;

    border-bottom:1px solid #8c7965;

    padding:8px 18px;

    cursor:pointer;

    font-family:inherit;

    font-size:1rem;

    color:#241f19;

}



.fragment-hidden {

    max-width:360px;

    margin:25px auto 0;

    display:none;

}



.fragment-hidden.open {

    display:block;

}



.fragment-hidden a {

    display:block;

    padding:12px;

    text-decoration:none;

    color:#5c5146;

    border-bottom:1px solid #d8d0c4;

}



.fragment-hidden a:hover {

    color:#241f19;

}




/* =========================
   FOOTNOTE
========================= */


footer {

    text-align:center;

    margin-top:50px;

    color:#8c7965;

    font-size:.75rem;

}



footer p {

    margin:6px;

}







/* =========================
   READER SUPPORT
========================= */


.reader-header {

    max-width:850px;

    margin:60px auto 30px;

    padding:0 30px;

}



.reader-subtitle {

    color:#5c5146;

}



.breadcrumb {

    margin-top:25px;

}



#content {

    max-width: 760px;

    margin: auto;

    padding: 45px 60px;

    background: transparent;

    font-size: 1.15rem;

    line-height: 1.9;

}



#content h1 {

    font-size:2.6rem;

    font-weight:normal;

}



#content h2 {

    margin-top:45px;

    border-bottom:

    1px solid #d8d0c4;

    padding-bottom:8px;

}



.reader-footer a {
  color: inherit;

  text-decoration: none;

  opacity: 0.72;

  font-weight: 500;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.reader-footer a:hover {
  opacity: 1;
}




/* =========================
   MOBILE
========================= */


@media (max-width: 600px) {

    .leo-room {
        min-height: auto;
        justify-content: flex-start;
    }

    .leo-portrait {
        width: 85%;
        max-width: 85%;
        margin-bottom: 5px;
    }

    .archive-door {
        margin: 10px auto 50px;
    }

}



.leo-conversation {

    max-width:360px;

    font-size:1.05rem;

    line-height:1.7;

}



.visitor-line {

    margin-left:30px !important;

}



.entry-room {

    max-width:360px;

    font-size:1.05rem;

    margin:70px auto;

}



.excerpt-door {

    margin:70px 0;

}



#content {

    padding: 20px 28px;

}




}







/* =========================
   DESKTOP PHONE GUIDE
========================= */


@media(min-width:700px){


    .archive-world {

        max-width:420px;

        margin:auto;

       

        padding-left:30px;

        padding-right:30px;

    }


}

.leo-drawer {
    margin:40px 0;
}


.leo-drawer-button {

    background:none;

    border:none;

    border-bottom:1px solid #8c7965;

    padding:8px 0;

    font-family:inherit;

    font-size:0.95rem;

    color:#241f19;

    cursor:pointer;

    width:100%;

    text-align:left;

}


.leo-drawer-button span {

    float:right;

}


.leo-drawer-content {

    display:none;

    padding:20px 0;

    color:#5c5146;

    font-size:0.95rem;

}


.leo-drawer-content.open {

    display:block;

}

/* Archive interface language */

.archive-door button,
.archive-door a {
    font-family: "IBM Plex Mono", monospace;
}


/* smoother archive opening */

.archive-hidden,
.fragment-hidden {

    max-height:0;
    overflow:hidden;
    opacity:0;
    transform:translateY(-8px);

    transition:
        max-height 0.8s ease,
        opacity 0.5s ease,
        transform 0.5s ease;

}


/* activated memory node */

.archive-hidden.open,
.fragment-hidden.open {

    max-height:900px;
    opacity:1;
    transform:translateY(0);

}



/* sci-fi text materialization */

.archive-hidden.open a,
.fragment-hidden.open a {

    display:block;

    animation:
        archiveReveal 0.45s ease forwards;

    opacity:0;

}



/* stagger each line */

.archive-hidden.open a:nth-child(1),
.fragment-hidden.open a:nth-child(1){
    animation-delay:.05s;
}

.archive-hidden.open a:nth-child(2),
.fragment-hidden.open a:nth-child(2){
    animation-delay:.10s;
}

.archive-hidden.open a:nth-child(3),
.fragment-hidden.open a:nth-child(3){
    animation-delay:.15s;
}

.archive-hidden.open a:nth-child(4),
.fragment-hidden.open a:nth-child(4){
    animation-delay:.20s;
}

.archive-hidden.open a:nth-child(5),
.fragment-hidden.open a:nth-child(5){
    animation-delay:.25s;
}



/* extend this automatically if needed */

@keyframes archiveReveal {

from {

    opacity:0;
    transform:translateX(-12px);

    letter-spacing:2px;

}

to {

    opacity:1;
    transform:translateX(0);

    letter-spacing:normal;

}

}
#lang-toggle {

    display:inline-block;

    padding:6px 12px;

    margin:1rem 0 1.5rem;

    border:none;

    border-left:3px solid #241f19;

    background:rgba(0,0,0,0.03);

    font-family:"IBM Plex Mono", monospace;

    text-transform:uppercase;

    letter-spacing:0.08em;

    cursor:pointer;

    transition:all .25s ease;

}
#lang-toggle:hover::after {

    content:"_";

    animation:
    blink .8s infinite;

}

@keyframes blink {

    50%{
        opacity:0;
    }

}

.archive-red {
    color:#952f26;
}

/* =========================
   READER QUESTION / LEO RESPONSE
   ========================= */

.reader-question {
    margin: 55px 0 25px;
    padding: 18px 20px 20px;
    border-left: 3px solid #8c7965;
    background: rgba(0,0,0,0.025);
}

.reader-question-label {
    margin-bottom: 14px;
    color: #8c7965;
    font-size: .72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.reader-question-text {
    margin: 0;
    color: #241f19;
    font-size: .98rem;
    line-height: 1.75;
}

@media (max-width: 600px) {

    .reader-question,
    .response-toggle {

        margin-left: 0;

        padding-left: 0;

    }

}


/* Leo's response */

.leo-response {
    position: relative;
    margin: 25px 0 55px;
    padding: 25px 20px 28px;
    border-left: 3px solid #952f26;
    color: #5c5146;
    font-size: .95rem;
    line-height: 1.85;
}

.leo-response::before {
    content: "◌ LEO / ARCHIVE RESPONSE";
    display: block;
    margin-bottom: 22px;
    color: #952f26;
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.leo-response p {
    margin: 20px 0;
}


/* Archive references inside Leo */

.leo-reference {
    display: inline-block;
    margin: 4px 2px;
    padding: 2px 6px;
    color: #952f26;
    text-decoration: none;
    border-bottom: 1px dotted #952f26;
    transition:
        background .25s ease,
        color .25s ease;
}

.leo-reference:hover {
    background: #952f26;
    color: #e4dfd5;
}


/* Closing Leo prompt */

.leo-response-question {
    margin-top: 30px !important;
    padding-top: 22px;
    border-top: 1px solid #d8d0c4;
    color: #241f19;
}


/* Slightly different rhythm on larger screens */

@media(min-width:700px){

    .reader-question {
        margin-left: 10px;
        margin-right: 10px;
    }

    .leo-response {
        margin-left: 10px;
        margin-right: 10px;
        padding-left: 25px;
    }

}


/* Mobile */

@media(max-width:600px){

    .reader-question {
        margin-top: 45px;
        padding: 16px 16px 18px;
    }

    .leo-response {
        padding: 22px 16px 24px;
        font-size: .92rem;
        line-height: 1.8;
    }

}

.image-stretcher {
    max-width: 760px;
    margin: 2.5rem auto;
    padding: 0 4rem;
    box-sizing: border-box;
}

.image-stretcher img {
    display: block;
    width: 100%;
    height: auto;
}

.fragment-portal {
  position: relative;
  width: 190px;
  height: 190px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0 auto;

  text-decoration: none;
  color: inherit;
  border-radius: 50%;
}

.fragment-portal {
  position: relative;
  width: 190px;
  height: 190px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  color: inherit;

  border-radius: 50%;
}

/* Main circular line */

.portal-ring {
  position: absolute;
  inset: 0;

  border: 1px solid currentColor;
  border-radius: 50%;

  opacity: 0.55;

  transition:
    transform 0.8s ease,
    opacity 0.5s ease;
}

/* A second, slightly broken-looking orbit */

.portal-ring::after {
  content: "";
  position: absolute;

  inset: 9px;

  border: 1px dashed currentColor;
  border-radius: 50%;

  opacity: 0.35;
}

/* Text */

.portal-text {
  position: relative;
  z-index: 2;

  text-align: center;
  line-height: 1.4;

  transition:
    transform 0.6s ease,
    letter-spacing 0.6s ease;
}

.portal-text .punjabi {
  display: block;
  font-size: 1.15rem;
}

.portal-text .english {
  display: block;
  margin-top: 0.35rem;

  font-size: 0.72rem;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

/* Animation */

.fragment-portal:hover .portal-ring {
  transform: rotate(180deg) scale(1.08);
  opacity: 0.9;
}

.fragment-portal:hover .portal-ring::after {
  transform: rotate(-90deg);
}

.fragment-portal:hover .portal-text {
  transform: scale(1.06);
  letter-spacing: 0.02em;
}
    /* =========================
   GHOST LEO DISCLAIMER
   ========================= */

.leo-disclaimer {

    margin: 35px auto;

    max-width: 620px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 0.90rem;

    line-height: 1.55;

    letter-spacing: -0.01em;

    color: #952f26;

    opacity: 0.8;
}

.leo-disclaimer strong {

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #b93006;
}

.leo-disclaimer i {
    font-style: italic;
}

.leo-disclaimer a {
    color: #952f26;
}

/* =========================
   READING DISCLAIMER NOTE
   ========================= */

.reading-disclaimer {

    margin: 35px auto;

    max-width: 620px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 0.78rem;

    line-height: 1.55;

    letter-spacing: -0.01em;

    color: #952f26;

    opacity: 0.8;
}

.reading-disclaimer strong {

    font-family:
        "IBM Plex Mono",
        monospace;

    font-size: 0.65rem;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: #b93006;
}

.reading-disclaimer i {
    font-style: italic;
}

.reading-disclaimer a {
    color: #952f26;
}

```css
/* =========================
   READER QUESTIONS
   ========================= */

.reader-query {
    margin: 0 0 2.2rem 0;
    padding: 0;
}

.reader-query-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.7rem 0;

    font-family: "IBM Plex Mono", monospace;
    font-size: 0.82rem;
    line-height: 1.4;
    letter-spacing: 0.04em;

    color: #635c5c;
}

.reader-icon {
    font-size: 0.72rem;
    color: #8d2424;
}

.reader-date {
    color: #8c7965;
}

.reader-question {
    margin: 0;
    padding: 0 0 0 1.25rem;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 550;
    line-height: 1.65;
}


/* =========================
   READER COMMENT RESPONSE
   ========================= */

.comment-response {
    margin: 0;
    padding: 0;
}

.response-toggle {
    display: block;

    margin: 0.8rem 0 0 1.25rem;
    padding: 0;

    background: none;
    border: none;

    font-family: "IBM Plex Mono", monospace;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.05em;

    color: #8d2424;

    cursor: pointer;

    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.response-toggle span {
    display: inline-block;
    margin-left: 0.4rem;

    transition: transform 0.4s ease;
}

.response-toggle:hover {
    color: #241f19;
    letter-spacing: 0.08em;
}


/* =========================
   HIDDEN RESPONSE
   ========================= */

.response-content {
    display: none;
    margin: 0;
    padding: 0;
    opacity: 0;
}


/* =========================
   OPEN RESPONSE
   ========================= */

.comment-response.open .response-content {
    display: block;
    opacity: 1;

    animation: responseFade 0.45s ease both;
}

.comment-response.open .response-toggle span {
    transform: rotate(180deg);
}

.comment-response.open .response-toggle {
    color: #0d0d0c;
}


@keyframes responseFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .reader-query {
        margin-bottom: 2rem;
    }

    .reader-question {
        padding-left: 0;
    }

    .response-toggle {
        margin-left: 0;
    }
}


/* =========================
   ARCHIVE DRAWER — GENTLE MOTION
   ========================= */

.archive-hidden.open a {

    animation:
        archiveItemFade 0.45s ease both;

}


.archive-hidden.open a:nth-child(1) {

    animation-delay: 0.03s;

}


.archive-hidden.open a:nth-child(2) {

    animation-delay: 0.08s;

}


.archive-hidden.open a:nth-child(3) {

    animation-delay: 0.13s;

}


.archive-hidden.open a:nth-child(4) {

    animation-delay: 0.18s;

}


.archive-hidden.open a:nth-child(5) {

    animation-delay: 0.23s;

}


.archive-hidden.open a:nth-child(6) {

    animation-delay: 0.28s;

}



/* Individual item hover */

.archive-hidden a {

    transition:
        color 0.3s ease,
        transform 0.3s ease;

}


.archive-hidden a:hover {

    color: #241f19;

    transform: translateY(-2px);

}



/* The little emergence */

@keyframes archiveItemFade {

    from {

        opacity: 0;

        transform: translateY(-6px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* ========================
   CHAPTER IMAGES
========================= */

.chapter-image {
    width: 100%;
    max-width: 760px;
    margin: 2.5rem auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

.chapter-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* =========================================================
   READER HEADER
   ========================================================= */

.reader-header {
  width: 100%;
  box-sizing: border-box;

  padding: 4.5rem 2rem 2.5rem;

  text-align: center;

  border-bottom: 1px solid rgba(36, 31, 25, 0.12);
}


.reader-header-inner {
  max-width: 900px;
  margin: 0 auto;
}


/* ---------------------------------------------------------
   ARCHIVE KICKER
   --------------------------------------------------------- */

.reader-kicker {
  margin-bottom: 1.8rem;

  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  opacity: 0.38;
}


/* ---------------------------------------------------------
   BOOK TITLE
   --------------------------------------------------------- */

.reader-header h2 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;

  line-height: 1.35;

  letter-spacing: -0.015em;
}


.reader-header h2 span {
  display: inline-block;

  margin-top: 0.35rem;

  font-size: 0.72em;

  opacity: 0.72;
}


/* ---------------------------------------------------------
   SUBTITLE
   --------------------------------------------------------- */

.reader-subtitle {
  min-height: 0.5rem;

  margin: 1.2rem 0 0;
}


/* =========================================================
   READER HEADER NAVIGATION
   ========================================================= */

.breadcrumb {
  margin: 0;

  font-family: "IBM Plex Mono", monospace;

  font-size: 0.88rem;
  line-height: 1.6;

  letter-spacing: 0.02em;

  color: #241f19;

  opacity: 0.88;
}

.breadcrumb a {
  color: #241f19;

  text-decoration: none;

  font-weight: 500;

  opacity: 1;

  transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
  opacity: 0.65;
}

.breadcrumb-separator {
  margin: 0 0.7rem;

  opacity: 0.35;
}
/* =========================================================
   ARCHIVE PAGE HEADER
   Used by Readers Comments and other archive rooms
   ========================================================= */

.archive-page-header {
  width: 100%;

  margin: 0 0 3.5rem;

  padding: 1.5rem 0 2.5rem;

  text-align: center;

  border-bottom: 1px solid rgba(36, 31, 25, 0.12);
}


/* ---------------------------------------------------------
   ARCHIVE KICKER
   --------------------------------------------------------- */

.archive-page-kicker {
  margin-bottom: 1.5rem;

  font-family: "IBM Plex Mono", monospace;

  font-size: 0.68rem;
  font-weight: 500;

  letter-spacing: 0.22em;

  opacity: 0.38;
}


/* ---------------------------------------------------------
   PAGE TITLE
   --------------------------------------------------------- */

.archive-page-header h1 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(2rem, 4vw, 2.8rem);

  font-weight: 400;

  line-height: 1.25;

  letter-spacing: -0.015em;
}


/* ---------------------------------------------------------
   SUBTITLE
   --------------------------------------------------------- */

.archive-page-subtitle {
  margin: 0.9rem 0 0;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 1rem;

  font-style: italic;

  opacity: 0.58;
}


/* ---------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------- */

.archive-page-navigation {
  margin-top: 2.2rem;

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 0.7rem;

  font-family: "IBM Plex Mono", monospace;

  font-size: 0.88rem;

  letter-spacing: 0.02em;

  color: #241f19;

  opacity: 0.88;
}


.archive-page-navigation a {
  color: #241f19;

  text-decoration: none;

  font-weight: 500;

  opacity: 1;

  transition: opacity 0.2s ease;
}


.archive-page-navigation a:hover {
  opacity: 0.65;
}


.archive-page-navigation span:first-of-type {
  opacity: 0.3;
}

/* =========================
   LEO — MOBILE
========================= */

@media (max-width: 600px) {

    .leo-room {
        min-height: auto;
        height: auto;
        padding: 1rem 0 0;
    }

    .leo-portrait {
        margin: 0 auto;
    }

    .leo-portrait img {
        display: block;
        max-width: 80%;
        height: auto;
        margin: 0 auto;
    }

    .archive-door {
        margin-top: 1rem;
    }

}

.red {
    color: red;
}
/* =========================
   CHAPTER NAVIGATION
   ========================= */

.chapter-nav {
    max-width: 760px;
    margin: 1.2rem auto 2.2rem;
    padding: 0 4rem;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chapter-nav a {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.75;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.chapter-nav a:hover {
    opacity: 1;
}

/* =========================
   LISTEN PORTAL
========================= */

.rchapters .listen-portal {

    width: 100%;

    margin: 45px auto;

    padding: 0;

    text-align: center;

    box-sizing: border-box;

}


.rchapters .listen-button {

    position: relative;

    width: 140px;
    height: 140px;

    margin: 0 auto;

    padding: 0;

    border: none;

    background: transparent;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    font-family: inherit;

    color: #241f19;

}


.rchapters .listen-ring {

    position: absolute;

    inset: 0;

    border: 1px solid #8c7965;

    border-radius: 50%;

    box-sizing: border-box;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;

}


.rchapters .listen-ring::after {

    content: "";

    position: absolute;

    inset: 8px;

    border: 1px solid #d8d0c4;

    border-radius: 50%;

}


.rchapters .listen-text {

    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    line-height: 1.35;

}


.rchapters .listen-text .punjabi {

    font-size: 1.05rem;

}


.rchapters .listen-text .english {

    font-size: 0.72rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #6b5d50;

}


.rchapters .listen-divider {

    font-size: 0.65rem;

    color: #9b8c7d;

    margin: 2px 0;

}


.rchapters .listen-button:hover .listen-ring {

    transform: scale(1.06);

    border-color: #6f5e4d;

    box-shadow: 0 0 18px rgba(100, 85, 70, 0.12);

}


.rchapters .listen-button.playing .listen-ring {

    animation: listenPulse 2s ease-in-out infinite;

}


@keyframes listenPulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

}
/* =====================================
   BOOK CITATIONS
   ===================================== */

.book-citations {
  margin-top: 1.8rem;
  padding: 1.2rem 1.4rem 1.4rem;
  border-left: 3px solid #8b8585;
  color: #4a4545;
  font-size: 0.88rem;
  line-height: 1.75;
}

.citation-heading {
  margin-bottom: 0.8rem;
  font-size: 0.90rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #920505;
  font-weight: 600;
}

.book-citations > a {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #4d4747;
  text-decoration: none;
}

.book-citations > a:hover {
  text-decoration: underline;
}

.citation-excerpt {
  margin: 0 0 1.2rem;
  padding-left: 1rem;
  color: #5d5757;
  border-left: 1px solid #bbb4b4;
}

.citation-item {
  position: relative;
  margin: 0.65rem 0;
  padding-left: 0.2rem;
}

.citation-page {
  margin-left: 0.35rem;
  color: #777070;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.rchapters {
    max-width: 760px;
    margin: 2.5rem auto;
    padding: 0 42.5rem;
padding: 0;
    box-sizing: border-box;
    text-align: justify;
}
/* Keep chapter drawers aligned with the reading column */

.rchapters + .leo-drawer,
.rchapters + .leo-drawer .leo-drawer {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}



/* =========================================================
   HOME — PRINT EDITIONS DOOR
   ========================================================= */

.leo-portrait {
    position: relative;
}

.store-door {
    position: absolute;
    top: 4%;
    right: -10%;

    font-family: "IBM Plex Mono", monospace;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;

    color: #e9e5df;
    text-decoration: none;

    animation: storeBreathing 4.5s ease-in-out infinite;

    transition: opacity 0.3s ease;
}

.store-door:hover {
    opacity: 1;
    animation-play-state: paused;
    color: #952f26;
}

@keyframes storeBreathing {

    0%, 100% {
        color: #b9b0a7;
    }

    50% {
        color: #952f26;
    }

}


/* =========================================================
   MANU ARCHIVE — PRINT EDITIONS
   Single dynamic edition viewer
   ========================================================= */


/* ---------------------------------------------------------
   STORE PAGE
   --------------------------------------------------------- */

.store-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2.5rem 4rem;
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   INTRODUCTION
   --------------------------------------------------------- */

.store-intro {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.store-kicker {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   EDITION SELECTOR
   --------------------------------------------------------- */

.edition-selector {
    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 0;

    margin: 0 auto 4rem;

    border-top: 1px solid rgba(36, 31, 25, 0.25);
    border-bottom: 1px solid rgba(36, 31, 25, 0.25);

    max-width: 760px;
}

.edition-selector-button {
    position: relative;

    flex: 1;

    display: flex;
    align-items: baseline;
    justify-content: center;

    gap: 0.65rem;

    padding: 1rem 0.75rem;

    border: 0;
    background: transparent;
    color: inherit;

    font-family: inherit;
    font-size: 0.8rem;

    cursor: pointer;
}

.edition-selector-button:hover {
    opacity: 0.6;
}

.edition-selector-button.is-active {
    opacity: 1;
}

.edition-selector-button.is-active::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;
    bottom: -1px;

    height: 1px;

    background: currentColor;
}

.edition-selector-number {
    font-size: 0.7rem;
    opacity: 0.5;
}

.edition-selector-name {
    letter-spacing: 0.02em;
}


/* ---------------------------------------------------------
   PRINT EDITIONS VIEWER
   --------------------------------------------------------- */

.print-editions-viewer {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   DISPLAY AREA
   --------------------------------------------------------- */

.edition-display {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, 0.8fr);

    gap: 4rem;

    align-items: start;
}


/* ---------------------------------------------------------
   IMAGE / MEDIA
   --------------------------------------------------------- */

.edition-main-media {
    width: 100%;
}

.edition-image-stage {
    position: relative;
    width: 100%;
}

.edition-image {
    margin: 0;
    width: 100%;
}

.edition-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 720px;

    object-fit: contain;
}


/* ---------------------------------------------------------
   IMAGE HANDLES
   --------------------------------------------------------- */

.edition-image-handle {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 2;

    border: 0;
    background: transparent;
    color: inherit;

    font-family: inherit;
    font-size: 1.4rem;
    line-height: 1;

    padding: 1rem;

    cursor: pointer;

    opacity: 0.45;
}

.edition-image-handle:hover {
    opacity: 1;
}

.edition-image-prev {
    left: 0;
}

.edition-image-next {
    right: 0;
}

.edition-image-handle[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   IMAGE NUMBERS
   --------------------------------------------------------- */

.edition-gallery {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 1rem;
}

.edition-gallery-items {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 0.35rem;

    min-width: 0;
}

.edition-gallery-item {
    min-width: 2rem;

    border: 0;
    background: transparent;
    color: inherit;

    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1;

    padding: 0.45rem 0.35rem;

    cursor: pointer;

    opacity: 0.45;
}

.edition-gallery-item:hover {
    opacity: 1;
}

.edition-gallery-item.is-active {
    opacity: 1;

    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.edition-gallery-item.edition-video-button {
    margin-left: 0.35rem;
}


/* ---------------------------------------------------------
   VIDEO
   --------------------------------------------------------- */

.edition-video {
    display: block;

    width: 100%;

    max-height: 720px;

    object-fit: contain;
}

.edition-video[hidden] {
    display: none !important;
}


/* ---------------------------------------------------------
   EDITION INFORMATION
   --------------------------------------------------------- */

.edition-information {
    padding-top: 0.25rem;
}

.edition-number {
    margin-bottom: 1.25rem;

    font-size: 0.8rem;
    letter-spacing: 0.1em;

    opacity: 0.55;
}

.edition-information h2 {
    margin: 0 0 0.6rem;

    font-size: 1.35rem;
    font-weight: normal;
    line-height: 1.3;
}

.edition-meta {
    margin: 0 0 2.2rem;

    font-size: 0.85rem;

    opacity: 0.65;
}

.edition-description {
    font-size: 0.95rem;
    line-height: 1.75;
}

.edition-description p {
    margin: 0 0 1.2rem;
}

.edition-description p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   EDITION ACTION
   --------------------------------------------------------- */

.edition-action {
    margin-top: 2.5rem;
}

.store-buy-button {
    display: inline-block;

    color: inherit;
    text-decoration: none;

    font-size: 0.8rem;
    letter-spacing: 0.04em;

    border-bottom: 1px solid currentColor;

    padding-bottom: 0.2rem;
}

.store-buy-button:hover {
    opacity: 0.55;
}

.store-coming-soon {
    display: inline-block;

    font-size: 0.8rem;
    letter-spacing: 0.08em;

    opacity: 0.55;
}


/* ---------------------------------------------------------
   READ ONLINE
   --------------------------------------------------------- */

.store-reading-room {
    margin: 4rem auto 0;

    text-align: center;
}

.store-reading-room a {
    color: inherit;
    text-decoration: none;

    font-size: 0.85rem;
}

.store-reading-room a:hover {
    opacity: 0.55;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .store-page {
        padding: 1.25rem 1.25rem 3rem;
    }


    .store-intro {
        margin-bottom: 2rem;
    }


    .edition-selector {
        margin-bottom: 2.5rem;
    }


    .edition-selector-button {
        flex-direction: column;

        align-items: center;

        gap: 0.3rem;

        padding: 0.9rem 0.3rem;
    }


    .edition-selector-button.is-active::after {
        left: 15%;
        right: 15%;
    }


    .edition-display {
        grid-template-columns: 1fr;

        gap: 2.5rem;
    }


    .edition-main-media {
        width: 100%;
    }


    .edition-image img,
    .edition-video {
        max-height: none;
    }


    .edition-image-handle {
        font-size: 1.2rem;
        padding: 0.75rem;
    }


    .edition-information {
        padding-top: 0;
    }


    .edition-meta {
        margin-bottom: 1.75rem;
    }


    .edition-action {
        margin-top: 2rem;
    }


    .store-reading-room {
        margin-top: 3rem;
    }

}


@media (max-width: 600px) {

    .rchapters {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}