.rscroll::-webkit-scrollbar { width: 4px; }
    .rscroll::-webkit-scrollbar-thumb { background: #a9822a; border-radius: 4px; }
    .plate { filter: grayscale(0.55) sepia(0.32) contrast(1.05) brightness(1.05) saturate(1.05); }
    .frame { border: 1px solid rgba(36,26,15,0.35); box-shadow: inset 0 0 0 4px #d3b787, inset 0 0 0 5px rgba(36,26,15,0.3); }
    /* book-spread page texture and media-plate framing */
    .paper-grain { background-color: rgba(255,250,240,0.15); background-image: repeating-linear-gradient(115deg, rgba(36,26,15,0.015) 0px, rgba(36,26,15,0.015) 1px, transparent 1px, transparent 3px); }
    .manuscript-plate { border: 1px solid rgba(36,26,15,0.55); box-shadow: inset 0 0 0 4px #d3b787, inset 0 0 0 5px rgba(36,26,15,0.25), 3px 5px 14px rgba(36,26,15,0.3), 0 1px 0 rgba(255,255,255,0.4); padding: 6px; }
    .plate-corner { position:absolute; width:14px; height:14px; border-color:#8a6a35; z-index:5; opacity:0.7; }
    .plate-corner.tl { top:2px; left:2px; border-top:1.5px solid; border-left:1.5px solid; }
    .plate-corner.tr { top:2px; right:2px; border-top:1.5px solid; border-right:1.5px solid; }
    .plate-corner.bl { bottom:2px; left:2px; border-bottom:1.5px solid; border-left:1.5px solid; }
    .plate-corner.br { bottom:2px; right:2px; border-bottom:1.5px solid; border-right:1.5px solid; }
    @keyframes slow-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) {
      .volume-group { transition: none !important; }
      * { scroll-behavior: auto !important; }
    }
    /* SVG Journey wheel — medallion rings and hover behavior */
    .volume-group { cursor: pointer; }
    .volume-group.volume-locked { cursor: default; }
    .central-gate { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
    .central-gate:hover { transform: scale(1.015); }
    .central-gate:hover circle[stroke="#a9822a"], .central-gate:hover circle[stroke="#8a6a35"] { stroke-opacity: 0.75; }
    .central-gate:hover line { stroke-opacity: 0.55; }
    .medallion-ring-unlocked { stroke: #a9822a; transition: stroke .25s ease, stroke-width .25s ease; }
    .medallion-ring-locked { stroke: rgba(36,26,15,0.35); transition: stroke .25s ease, stroke-width .25s ease; }
    /* responsive hierarchy for Journey decorative layers — primary content always visible */
    @media (max-width: 767px) {
      .constellation-marks, .archival-tags { display: none; }
      .orbital-decor-outer, .orbital-decor-inner { opacity: 0.4; }
      #the-journey { min-height: 0; justify-content: flex-start; padding-top: 24px; scroll-margin-top: 64px; }
    }
    @media (max-width: 480px) {
      .orbital-decor-outer, .orbital-decor-inner { display: none; }
    }
    @media (max-width: 480px) {
      .medallion-frame { display: none; }
    }

    /* cosmological micro-interaction: hover a Volume, its frame + connecting line respond */
    .volume-group { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
    .volume-group:hover { transform: scale(1.035); }
    .connect-line { transition: stroke-opacity .4s ease, stroke-width .4s ease; }
    .connect-node { transition: fill-opacity .4s ease, r .4s ease; }
    svg:has(.vg-1:hover) .cl-1 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-1:hover) .cn-1 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-2:hover) .cl-2 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-2:hover) .cn-2 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-3:hover) .cl-3 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-3:hover) .cn-3 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-4:hover) .cl-4 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-4:hover) .cn-4 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-5:hover) .cl-5 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-5:hover) .cn-5 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-6:hover) .cl-6 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-6:hover) .cn-6 { fill-opacity: 0.75; r: 3.2; }
    svg:has(.vg-7:hover) .cl-7 { stroke-opacity: 0.55; stroke-width: 2; }
    svg:has(.vg-7:hover) .cn-7 { fill-opacity: 0.75; r: 3.2; }
    .medallion-frame circle, .medallion-frame line, .medallion-frame path { transition: stroke-opacity .4s ease; }

    svg:has(.vg-1:hover) .mf-1 circle, svg:has(.vg-1:hover) .mf-1 line, svg:has(.vg-1:hover) .mf-1 path { stroke-opacity: 0.6; }
    svg:has(.vg-2:hover) .mf-2 circle, svg:has(.vg-2:hover) .mf-2 line, svg:has(.vg-2:hover) .mf-2 path { stroke-opacity: 0.6; }
    svg:has(.vg-3:hover) .mf-3 circle, svg:has(.vg-3:hover) .mf-3 line, svg:has(.vg-3:hover) .mf-3 path { stroke-opacity: 0.6; }
    svg:has(.vg-4:hover) .mf-4 circle, svg:has(.vg-4:hover) .mf-4 line, svg:has(.vg-4:hover) .mf-4 path { stroke-opacity: 0.6; }
    svg:has(.vg-5:hover) .mf-5 circle, svg:has(.vg-5:hover) .mf-5 line, svg:has(.vg-5:hover) .mf-5 path { stroke-opacity: 0.6; }
    svg:has(.vg-6:hover) .mf-6 circle, svg:has(.vg-6:hover) .mf-6 line, svg:has(.vg-6:hover) .mf-6 path { stroke-opacity: 0.6; }
    svg:has(.vg-7:hover) .mf-7 circle, svg:has(.vg-7:hover) .mf-7 line, svg:has(.vg-7:hover) .mf-7 path { stroke-opacity: 0.6; }


    /* slow ambient movement — decorative outer layers only, never the medallions or central artwork */
    @keyframes drift-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
    @keyframes drift-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
    .orbital-decor-outer { transform-box: fill-box; transform-origin: center; animation: drift-cw 480s linear infinite; }
    .orbital-decor-inner { transform-box: fill-box; transform-origin: center; animation: drift-ccw 360s linear infinite; }
    .archival-tag { transition: fill-opacity .4s ease; }
    svg:has(.vg-1:hover) .at-1 { fill-opacity: 0.6; }
    svg:has(.vg-2:hover) .at-2 { fill-opacity: 0.6; }
    svg:has(.vg-3:hover) .at-3 { fill-opacity: 0.6; }
    svg:has(.vg-4:hover) .at-4 { fill-opacity: 0.6; }
    svg:has(.vg-5:hover) .at-5 { fill-opacity: 0.6; }
    svg:has(.vg-6:hover) .at-6 { fill-opacity: 0.6; }
    svg:has(.vg-7:hover) .at-7 { fill-opacity: 0.6; }

    @media (prefers-reduced-motion: reduce) {
      .orbital-decor-outer, .orbital-decor-inner { animation: none !important; }
    }

    .volume-group:hover .medallion-ring-unlocked { stroke: #c9a227; stroke-width: 5; }
    .volume-group:hover .medallion-ring-locked { stroke: #8a6a35; stroke-width: 4; }
    .infinity-glyph { font-family:'Cormorant Garamond',serif; font-weight:600; }
    .hero-title { font-size: 3.2rem; }
    @media (min-width: 768px){
      .hero-title { font-size: 5.5rem; }
      .origin-feature-width { width: calc(100% - 48px); max-width: 320px; }
    }
    /* book-spread lesson page */
    .drop-cap { float:left; font-family:'Cormorant Garamond',serif; font-weight:600; font-size:4.4rem; line-height:0.78; padding-right:10px; padding-top:6px; color:#241a0f; }
    .clearfix::after { content:""; display:table; clear:both; }
    .index-tick { display:inline-flex; align-items:center; justify-content:center; min-width:26px; height:26px; padding:0 4px; font-family:'EB Garamond',serif; font-size:11px; color:#5c4b34; border-bottom:2px solid transparent; transition:all .2s ease; }
    a.index-tick:hover { color:#241a0f; border-color:#a9822a; }
    .index-tick.current { color:#241a0f; font-weight:700; border-color:#c9a227; }
    .index-tick.locked { opacity:0.45; cursor:not-allowed; }
