/* Hero declarations recovered from the actual live library snapshot. Scoped palette keeps the approved white library and app navigation intact. */
.reading-room{--paper:#FDFBF6;--navy:#1A2238;--navy-deep:#141B33;--gold:#A8863C;--gold-light:#C9A75B;--night:#07090D;--night-blue:#0D1320;--night-soft:#151923;--cream:#F4EBD8;--cream-soft:rgba(244,235,216,.68);--cream-faint:rgba(244,235,216,.42);--brass:#B8944E;--brass-light:#D8BB77;--serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-family:var(--sans)}

.reading-room{
      width: min(1420px, calc(100% - 24px));
      margin: 0 auto;
      padding: 18px 0 0;
    }
.room-backdrop{
      --room-x: 72%;
      --room-y: 45%;
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
      align-items: center;
      min-height: min(820px, calc(100dvh - 100px));
      overflow: clip;
      border: 1px solid rgba(216, 187, 119, .24);
      border-radius: 3px;
      padding: clamp(48px, 7vw, 108px);
      background:
        linear-gradient(90deg, rgba(3,5,8,.97) 0%, rgba(4,6,9,.78) 40%, rgba(4,6,9,.13) 74%),
        url("covers/library-books-atmosphere-v4-1600.webp") center / cover no-repeat;
      box-shadow: 0 42px 110px rgba(0,0,0,.48), inset 0 0 120px rgba(0,0,0,.18);
      isolation: isolate;
    }
.room-backdrop::before{
      content: "";
      position: absolute;
      z-index: 0;
      inset: 0;
      background:
        radial-gradient(circle at var(--room-x) var(--room-y), rgba(208,161,83,.15), transparent 19rem),
        linear-gradient(180deg, rgba(3,5,8,.06), rgba(3,5,8,.16) 55%, rgba(3,5,8,.78));
      transition: background .5s ease;
      pointer-events: none;
    }
.room-backdrop::after{
      content: "";
      position: absolute;
      z-index: 0;
      inset: 0;
      background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.035) 51%, transparent 61%);
      transform: translateX(-90%);
      animation: room-glint 9s ease-in-out infinite;
      pointer-events: none;
    }
.room-intro{
      position: relative;
      z-index: 3;
      max-width: 690px;
      padding-bottom: 72px;
    }
.room-intro h1{
      max-width: 680px;
      margin: 18px 0 0;
      color: var(--cream);
      font-size: clamp(3.25rem, 6.5vw, 7.3rem);
      line-height: .87;
      letter-spacing: -.052em;
      text-wrap: balance;
    }
.room-lead{
      max-width: 540px;
      margin: 28px 0 0;
      color: var(--cream-soft);
      font-size: clamp(1rem, 1.5vw, 1.15rem);
      line-height: 1.7;
    }
.enter-shelf{
      display: inline-flex;
      align-items: center;
      gap: 15px;
      min-height: 48px;
      margin-top: 30px;
      color: var(--cream);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .11em;
      text-decoration: none;
      text-transform: uppercase;
    }
.enter-shelf i{
      position: relative;
      width: 46px;
      height: 1px;
      background: var(--brass-light);
      transition: width .25s ease;
    }
.enter-shelf i::after{
      content: "";
      position: absolute;
      top: -3px;
      right: 0;
      width: 7px;
      height: 7px;
      border-top: 1px solid var(--brass-light);
      border-right: 1px solid var(--brass-light);
      transform: rotate(45deg);
    }
.enter-shelf:hover i{ width: 60px; }
.featured-zone{
      --rx: 1deg;
      --ry: -2deg;
      position: relative;
      z-index: 4;
      align-self: end;
      justify-self: stretch;
      width: min(470px, 100%);
      min-width: 0;
      padding-bottom: clamp(78px, 8vw, 108px);
      text-align: center;
      perspective: 1200px;
    }
.featured-zone::before{
      content: "";
      position: absolute;
      z-index: -2;
      top: 24px;
      right: -9%;
      bottom: 62px;
      left: -9%;
      border-radius: 50%;
      background: radial-gradient(ellipse, rgba(229, 175, 91, .19), rgba(98, 58, 29, .07) 45%, transparent 72%);
      filter: blur(9px);
      pointer-events: none;
    }
.featured-heading{
      position: relative;
      z-index: 12;
      display: grid;
      gap: 3px;
      justify-items: center;
      margin-bottom: 3px;
      color: var(--cream);
      text-shadow: 0 2px 18px #000;
    }
.featured-heading span{
      color: var(--brass-light);
      font-size: .61rem;
      font-weight: 800;
      letter-spacing: .24em;
      text-transform: uppercase;
    }
.featured-heading strong{ font: 400 1.25rem var(--serif); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.featured-rotation-toggle{
      min-height: 44px;
      border: 0;
      border-bottom: 1px solid rgba(216,187,119,.42);
      padding: 10px 4px 8px;
      color: rgba(245,237,220,.66);
      background: transparent;
      font: 700 .56rem/1 var(--sans);
      letter-spacing: .12em;
      text-transform: uppercase;
      cursor: pointer;
      transition: color .25s ease, border-color .25s ease;
    }
.featured-rotation-toggle:hover,
.featured-rotation-toggle:focus-visible{ color: var(--cream); border-color: var(--brass-light); }
.hero-bookcase{
      position: relative;
      height: clamp(350px, 34vw, 455px);
      opacity: 1;
      filter: blur(0);
      transform: rotateX(var(--rx)) rotateY(var(--ry));
      transform-style: preserve-3d;
      transition: opacity .34s ease, filter .34s ease, transform .48s cubic-bezier(.4,0,.2,1);
    }
.featured-zone.is-switching .hero-bookcase{ opacity: .08; filter: blur(4px); transform: translateY(7px) rotateX(var(--rx)) rotateY(var(--ry)); }
.hero-book{
      --book-ry: 0deg;
      --book-rz: 0deg;
      position: absolute;
      bottom: 10%;
      left: 50%;
      z-index: 2;
      width: 25%;
      min-width: 72px;
      border: 0;
      padding: 0;
      color: var(--cream);
      background: transparent;
      cursor: pointer;
      transform: translateX(-50%) rotateY(var(--book-ry)) rotateZ(var(--book-rz));
      transform-origin: 50% 100%;
      transform-style: preserve-3d;
      filter: drop-shadow(-9px 22px 18px rgba(0,0,0,.56));
      animation: hero-book-arrival .72s cubic-bezier(.22,.8,.25,1) both;
      animation-delay: calc(var(--i) * 80ms + 120ms);
      transition: z-index 0s, transform .32s cubic-bezier(.22,.8,.25,1), filter .32s ease;
    }
.hero-book:hover,
.hero-book:focus-visible{
      z-index: 20;
      transform: translateX(-50%) translateY(-14px) rotateY(0) rotateZ(0) scale(1.06);
      filter: drop-shadow(-11px 28px 24px rgba(0,0,0,.72));
    }
.hero-book.is-soon{ cursor: default; }
.hero-book--0{ z-index: 9; bottom: 5%; width: 43%; }
.hero-book--1{ --book-ry: 11deg; --book-rz: -1.2deg; z-index: 5; bottom: 9%; left: 11%; width: 27%; }
.hero-book--2{ --book-ry: 7deg; --book-rz: -.7deg; z-index: 3; bottom: 24%; left: 31%; width: 24%; }
.hero-book--3{ --book-ry: -7deg; --book-rz: .7deg; z-index: 3; bottom: 24%; left: 69%; width: 24%; }
.hero-book--4{ --book-ry: -11deg; --book-rz: 1.2deg; z-index: 5; bottom: 9%; left: 89%; width: 27%; }
.hero-volume{
      --cover-ratio: .64;
      position: relative;
      display: block;
      width: 100%;
      aspect-ratio: var(--cover-ratio);
      transform: translateZ(0);
      transform-style: preserve-3d;
    }
.hero-book[data-slug="hypnosomatic"] .hero-volume{ --cover-ratio: .6267; }
.hero-book[data-slug="die-sprache-deines-koerpers-verstehen"] .hero-volume{ --cover-ratio: .6685; }
.hero-book[data-slug="neuro-reich"] .hero-volume{ --cover-ratio: .6536; }
.hero-book[data-slug="spinalmind"] .hero-volume{ --cover-ratio: .6507; }
.hero-front{
      position: absolute;
      z-index: 3;
      inset: 0;
      overflow: hidden;
      border: 1px solid rgba(235,211,158,.46);
      border-radius: 2px 7px 7px 2px;
      background: #111620;
      box-shadow: inset 8px 0 13px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.07);
      transform: translateZ(5px);
    }
.hero-front::after{
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: linear-gradient(105deg, rgba(255,255,255,.11), transparent 14%, transparent 80%, rgba(255,246,220,.08));
      box-shadow: inset 0 0 18px rgba(0,0,0,.08);
      pointer-events: none;
    }
.hero-front img{
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.96) contrast(1.035) brightness(.94);
      transition: filter .32s ease;
    }
.hero-book:hover .hero-front img,
.hero-book:focus-visible .hero-front img{ filter: saturate(1) contrast(1.02) brightness(1.02); }
.hero-book[data-slug="human-code"] .hero-front img{
      position: absolute;
      top: -22%;
      left: -24%;
      width: 148%;
      height: 148%;
    }
.hero-spine{
      position: absolute;
      z-index: 4;
      top: 2px;
      bottom: 2px;
      left: -7px;
      width: 9px;
      border: 1px solid rgba(235,211,158,.3);
      border-right: 0;
      border-radius: 3px 0 0 3px;
      background: linear-gradient(90deg, #17100B, #755330 55%, rgba(224,191,121,.72));
      box-shadow: -3px 3px 8px rgba(0,0,0,.32);
      transform: translateZ(1px) skewY(-2deg);
    }
.hero-pages{
      position: absolute;
      z-index: 1;
      top: 5px;
      right: -8px;
      bottom: 5px;
      width: 11px;
      border: 1px solid rgba(83,61,38,.5);
      border-left: 0;
      border-radius: 0 4px 4px 0;
      background: repeating-linear-gradient(180deg, #E7DDC8 0 2px, #C5B69C 2px 3px);
      box-shadow: 5px 6px 12px rgba(0,0,0,.38);
      transform: translateZ(-2px) skewY(-2deg);
    }
.hero-book-mark{
      position: absolute;
      z-index: 7;
      right: 1px;
      bottom: 9px;
      display: grid;
      place-items: center;
      width: 8px;
      height: 8px;
      border: 0;
      border-radius: 50%;
      color: var(--brass-light);
      background: var(--brass-light);
      box-shadow: 0 0 0 3px rgba(7,9,13,.74), 0 5px 14px rgba(0,0,0,.45);
    }
.hero-book-mark::before{ content: ""; display: none; }
.hero-book.is-locked .hero-book-mark,
.hero-book.is-unlocked .hero-book-mark{
      width: 20px;
      height: 20px;
      border: 1px solid rgba(216,187,119,.65);
      background: rgba(7,9,13,.88);
      box-shadow: 0 5px 14px rgba(0,0,0,.45);
    }
.hero-book.is-locked .hero-book-mark::before{ display: block; width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 1px; }
.hero-book.is-unlocked .hero-book-mark::before{ display: block; width: 8px; height: 4px; border: solid currentColor; border-width: 0 0 1px 1px; transform: rotate(-45deg); }
.hero-book-name{
      position: absolute;
      z-index: 8;
      top: calc(100% + 14px);
      left: 50%;
      width: max-content;
      max-width: 150px;
      opacity: 0;
      color: var(--cream);
      font: 400 .8rem var(--serif);
      letter-spacing: .015em;
      text-shadow: 0 2px 10px #000;
      transform: translate(-50%, 4px);
      transition: opacity .22s ease, transform .22s ease;
      overflow-wrap: normal;
      word-break: keep-all;
      hyphens: none;
    }
.hero-book--0 .hero-book-name{ opacity: .82; transform: translate(-50%, 0); }
.hero-book:hover .hero-book-name,
.hero-book:focus-visible .hero-book-name{ opacity: 1; transform: translate(-50%, 0); }
.featured-shadow{
      position: absolute;
      z-index: -1;
      right: 4%;
      bottom: 75px;
      left: 4%;
      height: 28px;
      border-radius: 50%;
      background: rgba(0,0,0,.78);
      filter: blur(13px);
    }
.featured-zone::after{
      content: "";
      position: absolute;
      z-index: -1;
      right: -3%;
      bottom: 84px;
      left: -3%;
      height: 13px;
      border: 1px solid rgba(216,187,119,.38);
      background: linear-gradient(180deg, #8A6035, #382116 58%, #180E0A);
      box-shadow: 0 16px 25px rgba(0,0,0,.72), inset 0 1px rgba(255,232,183,.3);
      transform: perspective(220px) rotateX(65deg);
      transform-origin: bottom center;
    }
.room-status{
      position: absolute;
      z-index: 3;
      bottom: 28px;
      left: clamp(28px, 7vw, 108px);
      display: flex;
      align-items: center;
      gap: 15px;
      color: var(--cream-faint);
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
.room-status strong{
      color: var(--cream);
      font: 400 1.1rem var(--serif);
    }
.room-status i{ width: 1px; height: 22px; background: rgba(216,187,119,.4); }
.depth-line{
      position: absolute;
      z-index: 2;
      right: 2%;
      bottom: 8%;
      width: 46%;
      height: 1px;
      background: linear-gradient(90deg, var(--brass-light), transparent);
      opacity: .5;
      transform: rotate(-4deg);
      transform-origin: right center;
    }
body.lamp-on .room-backdrop::before{
      background:
        radial-gradient(circle at var(--room-x) var(--room-y), rgba(255,190,91,.29), transparent 24rem),
        linear-gradient(180deg, rgba(3,5,8,.01), rgba(3,5,8,.08) 55%, rgba(3,5,8,.65));
    }
@keyframes room-glint{
      0%, 72%, 100% { transform: translateX(-90%); opacity: 0; }
      82% { opacity: .7; }
      92% { transform: translateX(90%); opacity: 0; }
    }
@keyframes hero-book-arrival{
      from { opacity: 0; transform: translateX(-50%) translateY(28px) rotateY(var(--book-ry)) rotateZ(var(--book-rz)); }
      to { opacity: 1; transform: translateX(-50%) translateY(0) rotateY(var(--book-ry)) rotateZ(var(--book-rz)); }
    }
@media (max-width: 760px){
.enter-shelf{ font-size: .9rem; }
.featured-rotation-toggle{ font-size: .9rem; }
.room-backdrop{
        grid-template-columns: 1fr;
        align-content: start;
        min-height: 920px;
        padding: 50px 22px 74px;
        background:
          linear-gradient(180deg, rgba(3,5,8,.94) 0%, rgba(3,5,8,.58) 42%, rgba(3,5,8,.15) 66%, rgba(3,5,8,.72) 100%),
          url("covers/library-books-atmosphere-v4-1600.webp") 68% center / cover no-repeat;
      }
.room-intro{ padding-bottom: 22px; }
.room-intro h1{ font-size: clamp(3.15rem, 15vw, 5.2rem); line-height: .91; }
.room-lead{ max-width: 450px; }
.featured-zone{
        align-self: end;
        justify-self: center;
        width: min(540px, 100%);
        margin-top: 6px;
        padding: 0 0 96px;
      }
.hero-bookcase{ height: clamp(315px, 58vw, 405px); }
.featured-zone::before{ right: -8%; left: -8%; }
.featured-heading{ justify-items: center; text-align: center; }
.featured-shadow{ right: 3%; bottom: 84px; left: 3%; }
.room-status{ right: 22px; bottom: 26px; left: 22px; justify-content: space-between; }
.depth-line{ right: -3%; bottom: 17%; width: 72%; }
}
@media (max-width: 430px){
.reading-room{ width: calc(100% - 14px); }
.room-backdrop{ min-height: 920px; padding-inline: 20px; }
.room-intro h1{ font-size: clamp(3rem, 15.4vw, 4.25rem); }
.room-lead{ font-size: .96rem; }
.featured-zone{ width: 100%; }
.hero-bookcase{ height: clamp(270px, 78vw, 315px); }
.hero-book--0{ width: 50%; }
.hero-book--1,
.hero-book--4{ width: 31%; }
.hero-book--2,
.hero-book--3{ width: 28%; }
.hero-book-name{ top: calc(100% + 10px); max-width: 110px; font-size: .68rem; }
.room-status{ gap: 8px; font-size: .56rem; letter-spacing: .06em; }
.room-status strong{ font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce){
.room-backdrop::after{ display: none; }
.hero-bookcase,
.featured-zone.is-switching .hero-bookcase{ opacity: 1; filter: none; transform: none; transition: none; }
}
@media (max-width: 760px){
.room-backdrop{ min-height: 760px; padding-top: 38px; padding-bottom: 58px; }
.room-intro h1{ font-size: clamp(2.85rem, 14vw, 4.7rem); }
.featured-zone{ padding-bottom: 76px; }
.hero-bookcase{ height: clamp(250px, 65vw, 340px); }
.room-status{ bottom: 18px; }
}
.hero-book[data-kind="course"] .hero-front img,
.hero-book[data-kind="hypnosis"] .hero-front img{ object-fit: contain; }
.hero-book[data-kind="hypnosis"] .hero-volume{ --cover-ratio: 1; }
.hero-book[data-kind="hypnosis"] .hero-front{ border-radius: 5px; }
.hero-book[data-kind="hypnosis"] .hero-pages{ display: none; }
.featured-heading strong{ max-width: 100%; text-wrap: balance; }
.featured-heading > span{ line-height: 1.6; }

/* Remove only skin overrides which the original hero did not need to declare. */
.room-backdrop{gap:normal;margin:0;max-width:none}
.room-backdrop::before,.room-backdrop::after,.featured-zone::after,.depth-line{display:block}
.room-intro h1{font-family:var(--serif);font-weight:400;text-shadow:0 3px 28px rgba(0,0,0,.42)}
.room-intro h1 em{font-style:normal;color:inherit}
.room-intro .eyebrow{font-family:var(--sans);color:var(--brass-light);font-weight:800;font-size:.62rem;line-height:1.7;letter-spacing:.24em}
.room-lead{font-family:var(--sans)}
.enter-shelf{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.enter-shelf:hover{background:transparent;border:0;color:var(--cream)}
.featured-zone{min-height:0;transform:none;margin-top:0}
.featured-heading{left:auto;right:auto;top:auto;bottom:auto;text-shadow:0 2px 18px #000}
.featured-heading strong{color:var(--cream)}
.featured-rotation-toggle{display:inline-block}
.hero-bookcase{margin-top:0;transform:rotateX(var(--rx)) rotateY(var(--ry))!important;transition:opacity .34s ease,filter .34s ease,transform .48s cubic-bezier(.4,0,.2,1)!important}
.hero-book-name{display:block}
.white-hero-subline{color:var(--brass-light);font-family:var(--sans)}
/* Keep all approved words, including the existing caption, without overlap. */
.white-hero-caption{bottom:16px;left:clamp(28px,7vw,108px);right:clamp(28px,7vw,108px);color:var(--cream-faint)}
.white-hero-caption i{background:rgba(216,187,119,.2)}
.room-status{right:auto;bottom:48px}
.room-status strong{color:var(--cream)}
@media(min-width:1550px){.room-backdrop{min-height:min(820px,calc(100dvh - 100px))}.hero-bookcase{height:clamp(350px,34vw,455px)}}
@media(max-width:1100px) and (min-width:761px){.room-backdrop{padding-inline:clamp(48px,7vw,108px)}.room-intro h1{font-size:clamp(3.25rem,6.5vw,7.3rem)}}
@media(max-width:760px){.room-backdrop{display:grid;gap:0;overflow:clip}.room-intro .eyebrow{white-space:normal}.room-intro{align-self:auto}.featured-zone{min-height:0;margin-top:6px;align-self:end}.hero-bookcase{margin-top:0}.featured-heading{position:relative;top:auto;bottom:auto;left:auto;right:auto}.featured-shadow{width:auto;opacity:1}.room-status{position:absolute;right:22px;bottom:42px;left:22px;margin-top:0;justify-content:space-between;font-size:.56rem}.room-status strong{font:400 .95rem var(--serif)}.white-hero-caption{display:flex;left:22px;right:22px;bottom:15px;font-size:7px;gap:10px}.white-hero-subline{font-size:9px}}
