@import url('/journal-community.css');
/* Five doorways and cinematic planet chapters. All existing content remains available. */
.cinematic-home{background:radial-gradient(ellipse at 50% 25%,#344b32 0,transparent 60%),#13241d;min-height:0;padding-bottom:24px}
.cinematic-home::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#e3d7b3 1px,transparent 1px),radial-gradient(circle,#d8c59a70 1px,transparent 1px);background-size:137px 193px,211px 157px;opacity:.23;pointer-events:none}
.cinematic-home .cosmic-inner{display:block;min-height:0;padding-top:24px;max-width:1440px}
.cinematic-home .cosmic-copy{padding:0 0 24px;text-align:center;width:100%;animation:none}
.cinematic-home .cosmic-copy>p{margin-inline:auto}
.cinematic-home .cosmic-copy h1{font-size:clamp(40px,4.4vw,64px);max-width:20ch;margin:16px auto 0;line-height:1.12}
.cinematic-home .cosmic-copy .lead{max-width:60ch;margin:16px auto 0;font-size:18px}
.cinematic-home .cosmic-copy .small{margin:16px auto 0;font-size:11px}
.topic-portals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding-top:8px;align-items:start}
.topic-portal{position:relative;min-width:0;isolation:isolate;border-radius:160px 160px 16px 16px;text-decoration:none!important;display:flex;flex-direction:column;min-height:340px;overflow:hidden;background:#162b20;border:1px solid #a7b28a65;box-shadow:0 16px 40px #08110b40;transition:transform .25s ease-out}
.topic-portal:nth-child(even){margin-top:32px}
.portal-art{position:absolute;inset:0;z-index:-2;overflow:hidden;border-radius:inherit}
.portal-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 30%;opacity:.85;transform:scale(1.01);transition:transform .8s ease-out,opacity .4s ease-out}
.topic-portal[data-topic=vedic] .portal-art img{object-position:53% 0;object-fit:cover}
.topic-portal[data-topic=calculator] .portal-art img{object-position:center}
.topic-portal::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#10251c00 20%,#10251c44 46%,#10251ce8 70%,#10251c 95%)}
.portal-copy{margin-top:auto;display:flex;flex-direction:column;padding:24px 16px;min-height:178px}
.portal-index{font:500 11px/1.5 var(--font-body);letter-spacing:.16em;color:#ffd4a0;margin-bottom:8px}
.portal-title{font:550 clamp(19px,1.8vw,26px)/1.2 var(--font-display);letter-spacing:-.025em;color:#F5F0E6;overflow-wrap:anywhere}
.portal-note{font-size:13px;line-height:1.5;color:#e3e8dc;margin-top:8px;max-width:23ch}
.portal-open{font-size:12px;line-height:1.5;font-weight:700;color:#ffd4a0;margin-top:16px}
.topic-portal:hover,.topic-portal:focus-visible{transform:translateY(-4px);border-color:#e6b47d}
.topic-portal:hover .portal-art img,.topic-portal:focus-visible .portal-art img{transform:scale(1.09);opacity:1}
.topic-portal:focus-visible{outline:3px solid #D8B777;outline-offset:4px}
.cinema-in-view .topic-portal:nth-child(2) .portal-art img{animation:portal-drift 16s ease-in-out infinite alternate}
.cinema-in-view .topic-portal:nth-child(5) .portal-art img{animation:portal-drift 19s ease-in-out infinite alternate-reverse}
.home-motion-row{display:flex;justify-content:flex-end;margin-top:24px}
.home-motion-row button{background:transparent;border-color:#8e9e7e;color:#e5e9dc;font-size:12px}
.planet-jump-list{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 40px}
.planet-jump-list button{font:500 13px/1.5 var(--font-body);min-height:44px;color:#edeede;background:#203b2ae8;border:1px solid #819574;border-radius:32px;padding:8px 16px}
.planet-jump-list button:hover{background:#3c5736;border-color:#f5c183}
#graha-grid,#modern-grid{grid-template-columns:1fr;gap:24px}
.cinematic-planet{position:relative;isolation:isolate;min-height:410px;border-radius:24px;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#13251c;border-color:#819B8780;overflow:hidden;scroll-margin-block:24px}
.cinematic-planet .planet-art-button{position:absolute;inset:0;width:100%;height:100%;z-index:-1;background:#12231b;text-align:left}
.cinematic-planet .planet-art-button img{position:absolute;right:0;top:0;width:68%;height:100%;object-fit:cover;object-position:center;opacity:.9;transition:transform .8s ease-out}
.cinematic-planet .planet-art-button::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#13251c 5%,#13251cf5 30%,#13251c9e 52%,#13251c05 76%);pointer-events:none}
.cinematic-planet .planet-open{left:auto;right:24px;bottom:24px;z-index:1;max-width:45%;text-align:center;background:#14251de8}
.cinematic-planet .graha-body{grid-column:1;padding:40px;position:relative;pointer-events:none}
.cinematic-planet .graha-body :is(button,summary,details,a){pointer-events:auto}
.cinematic-planet .graha-body h3{font-size:40px;letter-spacing:-.035em}
.cinematic-planet .graha-description{font-size:17px;line-height:1.65;color:#e0e7d8;margin-top:24px}
.cinematic-planet .graha-meta{gap:12px}.cinematic-planet .graha-meta .eyebrow{color:#ffd4a0}
.cinematic-planet .graha-more{border-color:#92a68566}.cinematic-planet .graha-more p{color:#e0e7d8}
.cinematic-planet .planet-art-button:focus-visible{outline-offset:-5px;z-index:0}.cinematic-planet:focus-within .graha-body{z-index:1}
.cinematic-planet.cinema-in-view .planet-art-button img{animation:planet-panorama 24s ease-in-out infinite alternate}
#graha-rahu .planet-art-button img,#graha-ketu .planet-art-button img{object-fit:contain;width:64%;opacity:1}
.modern-planets{margin-top:64px;padding-top:64px}
.motion-paused .cinematic-home *,.motion-paused .cinematic-planet *,body:has(dialog[open]) :is(.cinematic-home,.cinematic-planet) *{animation-play-state:paused!important}
@keyframes portal-drift{from{transform:scale(1.02) translateY(0)}to{transform:scale(1.1) translateY(-8px)}}
@keyframes planet-panorama{from{transform:scale(1.01) rotate(-1deg)}to{transform:scale(1.07) rotate(1deg)}}
@media(max-width:1000px){.topic-portals{gap:8px}.topic-portal{min-height:340px}.portal-copy{padding:24px 12px}.portal-title{font-size:20px}.portal-note{font-size:12px}.cinematic-planet .graha-body{padding:32px}.cinematic-planet .graha-body h3{font-size:36px}.cinematic-planet{grid-template-columns:55% 45%}}
@media(max-width:760px){.cinematic-home .cosmic-inner{padding-top:32px}.cinematic-home .cosmic-copy{padding-bottom:32px}.cinematic-home .cosmic-copy h1{font-size:40px;max-width:17ch}.topic-portals{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;align-items:stretch}.topic-portal{grid-column:span 2;min-height:320px}.topic-portal:nth-child(even){margin-top:0}.topic-portal:nth-child(n+4){grid-column:span 3;min-height:290px}.portal-title{font-size:22px}.portal-note{font-size:13px}.cinematic-planet{display:flex;flex-direction:column;align-items:stretch;min-height:0}.cinematic-planet .planet-art-button{position:relative;inset:auto;width:100%;height:300px;flex-shrink:0;z-index:auto;order:0}.cinematic-planet .planet-art-button img,#graha-rahu .planet-art-button img,#graha-ketu .planet-art-button img{width:100%;height:100%;opacity:1}.cinematic-planet .planet-art-button::after{background:linear-gradient(180deg,transparent 65%,#13251c)}.cinematic-planet .planet-open{right:16px;bottom:24px;max-width:none}.cinematic-planet .graha-body{padding:24px 32px 32px;order:1;pointer-events:auto}.cinematic-planet .graha-description{font-size:17px}.planet-jump-list{gap:8px}.planet-jump-list button{font-size:12px;padding:8px 12px}}
@media(max-width:540px){.cinematic-home .cosmic-copy h1{font-size:36px}.cinematic-home .cosmic-copy .lead{font-size:16px;margin-top:16px}.cinematic-home .cosmic-copy .eyebrow{font-size:10px}.topic-portals{grid-template-columns:1fr 1fr;gap:16px 12px}.topic-portal,.topic-portal:nth-child(n+4){grid-column:auto;min-height:300px;border-radius:100px 100px 16px 16px}.topic-portal:nth-child(5){grid-column:1/-1;min-height:220px;border-radius:24px}.topic-portal:nth-child(5) .portal-art{left:40%}.topic-portal:nth-child(5)::after{background:linear-gradient(90deg,#10251c 10%,#10251ccc 48%,#10251c00)}.topic-portal:nth-child(5) .portal-copy{max-width:66%;padding:24px}.portal-copy{padding:20px 12px;min-height:166px}.portal-title{font-size:21px}.portal-note{font-size:12px}.portal-open{margin-top:12px}.home-motion-row{margin-top:16px}.cinematic-planet .graha-body{padding:16px 24px 24px}.cinematic-planet .graha-body h3{font-size:32px}.cinematic-planet .planet-art-button{height:230px}.cinematic-planet .graha-description{font-size:16px}.cinematic-planet .planet-open{font-size:12px;padding:8px 12px}.cinematic-planet{border-radius:16px}#graha-grid,#modern-grid{gap:24px}}
@media(prefers-reduced-motion:reduce){.cinematic-home *,.cinematic-planet *{animation:none!important;transition:none!important}.topic-portal:hover,.topic-portal:focus-visible,.topic-portal:hover img,.topic-portal:focus-visible img{transform:none!important}}
@media(max-width:540px){.portal-title{font-size:clamp(16px,4.6vw,20px);overflow-wrap:normal}.topic-portal:nth-child(5) .portal-title{font-size:23px}}
.major-meaning{font-size:16px;line-height:1.65;color:#e0e7d8;margin-bottom:24px}
@media(min-width:541px){.tarot-detail{max-height:calc(100dvh - 48px);overflow:auto;scrollbar-gutter:stable}}

/* Selected reference: five aligned landscape arches and an expansive chapter view.
   Retain the site's green/charcoal surfaces and orange action colour. */
.selected-worlds-home{background:#13241d;padding-bottom:24px}
.selected-worlds-home::before{display:none}
.selected-worlds-home .cosmic-inner{width:92%;max-width:1600px;min-height:0;padding-top:24px}
.selected-worlds-home .cosmic-copy{display:grid;grid-template-columns:minmax(0,1fr) 310px;column-gap:40px;text-align:left;padding:0 0 24px}
.selected-worlds-home .cosmic-copy>.eyebrow{grid-column:1/-1;margin:0 0 12px;font-size:11px;letter-spacing:.15em;color:#eac796}
.selected-worlds-home .cosmic-copy h1{font:400 clamp(40px,4.4vw,70px)/1.08 Georgia,'Bitter',serif;letter-spacing:-.04em;margin:0;max-width:none}
.selected-worlds-home .cosmic-copy h1 em{font-weight:400;color:#e4bc86}
.selected-worlds-home .cosmic-copy .lead{align-self:end;max-width:32ch;margin:0;font-size:16px;line-height:1.65;color:#d7ddd2}
.selected-worlds-home .cosmic-copy .small{grid-column:1/-1;margin:16px 0 0;color:#c6d0bf}
.selected-worlds-home .topic-portals{gap:12px;align-items:stretch;padding:0}
.selected-worlds-home .topic-portal{border-radius:150px 150px 6px 6px;min-height:clamp(380px,50vh,620px);margin:0;box-shadow:none;background:#1b2c23;border:1px solid #b8b09655}
.selected-worlds-home .topic-portal::after{z-index:0;background:linear-gradient(180deg,#101d1400 32%,#101d1422 48%,#101d14b8 66%,#101d14f7 93%);pointer-events:none}
.world-visual{display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none;color:#f0d2a0}
.world-landscape{display:block;position:absolute;inset:0;width:100%;height:100%;transform:scale(1.025);transform-origin:center}
.world-object{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.selected-worlds-home .portal-copy{position:relative;z-index:1;padding:24px 20px;min-height:174px}
.selected-worlds-home .portal-index{font-size:10px;line-height:1.5;letter-spacing:.12em;color:#e9d7b7;margin-bottom:12px}
.selected-worlds-home .portal-title{font:400 clamp(24px,2.25vw,36px)/1.1 Georgia,'Bitter',serif;letter-spacing:-.035em;overflow-wrap:normal}
.selected-worlds-home .portal-note{font-size:13px;line-height:1.6;min-height:42px;color:#e0e4d8}
.selected-worlds-home .portal-open{border-top:1px solid #dcc29266;padding-top:12px;margin-top:16px;color:#f7d9ac;font-weight:500;font-size:12px}
.selected-worlds-home .home-motion-row{justify-content:space-between;align-items:center;gap:24px;margin-top:16px;font-size:12px;color:#c6d0bf}
.selected-worlds-home .topic-portal:focus-visible{outline-offset:3px}
.world-chapter{position:relative;isolation:isolate;background:#13241d;min-height:680px;min-height:max(680px,calc(100svh - 148px));display:flex;flex-direction:column;padding:32px max(4vw,24px);overflow:hidden;gap:40px}
.world-chapter>.world-visual{left:41%;z-index:-2}
.world-chapter::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#13241d 25%,#13241df0 40%,#13241d40 62%,#13241d00 100%)}
.world-chapter-nav,.world-pager{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.world-chapter-nav a,.world-pager a{color:#f1e3ca;padding:12px 18px;min-height:44px;border:1px solid #b4b99580;border-radius:32px;text-decoration:none;background:#14261fde;font-size:14px;line-height:1.5}
.world-chapter-nav a:hover,.world-pager a:hover{border-color:#f2b06f;color:#fff1d6}
.world-chapter-nav button{background:#14261fde}
.world-chapter-copy{margin-block:auto;padding:32px 0 40px 4vw;width:48%;max-width:760px}
.world-chapter-copy .eyebrow{max-width:42ch;color:#e8c48e;font-size:11px;letter-spacing:.12em;line-height:1.7}
.world-chapter-copy h2{font:400 clamp(48px,6.8vw,112px)/1.02 Georgia,'Bitter',serif;letter-spacing:-.04em;margin:24px 0;overflow-wrap:normal;hyphens:auto}
.world-chapter-note{font-size:18px;line-height:1.75;color:#e0e5db;max-width:34ch;margin-bottom:32px}
.world-enter{min-height:48px;white-space:normal;text-align:left;max-width:100%}
.world-pager{margin-top:16px}
.world-chapter :is(button,a):focus-visible{outline:3px solid #D8B777;outline-offset:4px}
.world-visual .world-orbit{transform-origin:150px 205px;animation:world-orbit 35s linear infinite}
.world-numerals,.world-cards,.world-runes,.world-angel-light{animation:world-float 7s ease-in-out infinite alternate;transform-origin:150px 230px}
.world-numbers-a{animation:world-number-a 8s linear infinite}.world-numbers-b{opacity:0;animation:world-number-b 8s linear infinite}
.world-card{transform-box:fill-box;transform-origin:center;animation:world-card-turn 10s ease-in-out infinite}.world-card-1{animation-delay:-2s}.world-card-2{animation-delay:-4s}
.world-rune{animation:world-float 6s ease-in-out infinite alternate}.world-rune-1{animation-delay:-2s}.world-rune-2{animation-delay:-4s}
.world-blossom{transform-origin:150px 210px;animation:world-bloom 9s ease-in-out infinite}
.world-visual *{animation-play-state:paused!important}.cinema-in-view .world-visual *{animation-play-state:running!important}
.motion-paused .world-visual *, .motion-background-hidden .world-visual *,body:has(dialog[open]) .world-visual *{animation-play-state:paused!important}
@keyframes world-orbit{to{transform:rotate(360deg)}}
@keyframes world-float{from{transform:translateY(-6px)}to{transform:translateY(7px)}}
@keyframes world-card-turn{0%,30%,100%{transform:scaleX(1)}45%{transform:scaleX(.12)}60%,80%{transform:scaleX(-1)}}
@keyframes world-number-a{0%,40%,100%{opacity:1}50%,90%{opacity:0}}
@keyframes world-number-b{0%,40%,100%{opacity:0}50%,90%{opacity:1}}
@keyframes world-bloom{0%,100%{transform:scale(.65) rotate(0);opacity:.6}55%{transform:scale(1.1) rotate(15deg);opacity:1}}
@media(max-width:1100px){.selected-worlds-home .cosmic-copy{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.selected-worlds-home .portal-copy{padding:24px 12px}.selected-worlds-home .portal-title{font-size:25px}.selected-worlds-home .portal-note{font-size:12px}.world-chapter-copy{width:54%;padding-left:0}.world-chapter-copy h2{font-size:64px}}
@media(max-width:760px){.selected-worlds-home .cosmic-copy{display:block;padding-bottom:24px}.selected-worlds-home .cosmic-copy h1{font-size:42px;max-width:20ch}.selected-worlds-home .cosmic-copy .lead{font-size:16px;margin-top:24px;max-width:45ch}.selected-worlds-home .topic-portals{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.selected-worlds-home .topic-portal{grid-column:auto;min-height:380px}.selected-worlds-home .topic-portal:last-child{grid-column:1/-1;min-height:360px}.selected-worlds-home .portal-title{font-size:30px}.selected-worlds-home .portal-copy{padding:24px;max-width:none}.selected-worlds-home .portal-note{font-size:14px}.selected-worlds-home .topic-portal:last-child::after{background:linear-gradient(180deg,transparent,#13241dcc 65%,#13241df5)}.selected-worlds-home .topic-portal:last-child .world-visual{inset:0}.world-chapter{min-height:740px;padding:24px;gap:32px}.world-chapter>.world-visual{left:0;opacity:.8}.world-chapter::after{background:linear-gradient(180deg,#13241d45 0%,#13241d00 20%,#13241dbf 42%,#13241d 78%)}.world-chapter-copy{width:100%;padding:200px 0 0;margin-block:auto 0}.world-chapter-copy h2{font-size:56px;max-width:12ch}.world-chapter-note{font-size:17px;max-width:40ch}.world-chapter .world-object{height:560px;top:-36px}.world-chapter-nav a,.world-chapter-nav button{font-size:12px;padding:10px 14px}.world-pager{margin-top:0}.world-pager a{font-size:13px}}
@media(max-width:540px){.selected-worlds-home .cosmic-inner{width:88%;padding-top:24px}.selected-worlds-home .cosmic-copy h1{font-size:38px;line-height:1.12}.selected-worlds-home .topic-portals{gap:12px}.selected-worlds-home .topic-portal{min-height:350px;border-radius:100px 100px 6px 6px}.selected-worlds-home .topic-portal:last-child{min-height:320px;border-radius:130px 130px 6px 6px}.selected-worlds-home .portal-copy,.selected-worlds-home .topic-portal:last-child .portal-copy{padding:18px 12px;max-width:none;min-height:160px}.selected-worlds-home .portal-title{font-size:clamp(19px,5.3vw,27px)}.selected-worlds-home .portal-index{font-size:9px;letter-spacing:.07em}.selected-worlds-home .portal-note{font-size:12px;min-height:38px}.selected-worlds-home .portal-open{font-size:11px}.selected-worlds-home .home-motion-row{gap:12px;align-items:flex-start;font-size:11px}.world-footer-note{max-width:17ch}.world-chapter{padding:24px 6vw;gap:24px;min-height:740px}.world-chapter-nav{gap:8px}.world-chapter-nav a,.world-chapter-nav button{font-size:11px;padding:10px 12px}.world-chapter-copy h2{font-size:clamp(40px,12vw,56px);overflow-wrap:break-word}.world-chapter-copy .eyebrow{font-size:10px;letter-spacing:.07em}.world-chapter-note{font-size:16px}.world-enter{font-size:14px}.world-pager a{padding:10px 12px;font-size:12px;max-width:100%}}
@media(prefers-reduced-motion:reduce){.world-visual *{animation:none!important;transition:none!important}.world-numbers-b{opacity:0!important}.world-numbers-a{opacity:1!important}.world-chapter *{scroll-behavior:auto!important}}
.world-chapter{animation:world-open .4s ease-out both}
@keyframes world-open{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:540px){.selected-worlds-home .portal-title{font-size:clamp(18px,4.9vw,24px)}}
@media(max-width:360px){.selected-worlds-home .topic-portals{grid-template-columns:1fr}.selected-worlds-home .topic-portal{min-height:370px}.selected-worlds-home .portal-copy{padding:24px}.selected-worlds-home .portal-title{font-size:28px}.selected-worlds-home .portal-note{font-size:14px;min-height:0}.selected-worlds-home .portal-open{font-size:13px}.selected-worlds-home .topic-portal:last-child .portal-title{font-size:28px}}
@media(prefers-reduced-motion:reduce){.world-chapter{animation:none!important}}
@media(min-width:361px) and (max-width:540px){html[lang=ru] .selected-worlds-home .portal-title{font-size:18px;letter-spacing:-.04em}html[lang=ru] .selected-worlds-home .portal-copy{padding-inline:10px}}
