/* SOJ: the original portal shell with a dedicated community masthead. */
:root{--navy:#091018;--gold:#ccab68;--gold2:#efcf89}
.header{gap:24px}.header nav{gap:clamp(10px,1.1vw,19px)}.header nav a{font-size:.75rem;letter-spacing:.045em}.header .brand{flex-shrink:0}.logo-box img{object-fit:contain}
.soj-hero{isolation:isolate;position:relative;display:grid;min-height:clamp(470px,35vw,650px);background:#040c14;color:#fff6e4;border-bottom:1px solid #9c8053}
.hero-art,.hero-veil{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.hero-art{object-fit:cover;object-position:70% 52%}.hero-veil{background:linear-gradient(90deg,#030b13e6 0%,#030b13ad 25%,#030b132b 48%,transparent 66%)}
.hero-inner{display:flex;align-items:center;width:min(var(--max),calc(100% - 48px));margin:auto;padding:48px 0}.hero-content{width:min(42%,470px)}.soj-kicker{display:flex;align-items:center;gap:12px;color:#f3cf83;font-size:.81rem;letter-spacing:.2em;font-weight:bold;margin:0 0 18px}.soj-kicker i{width:32px;height:1px;background:currentColor}
.soj-hero h1{font:normal clamp(62px,6vw,102px)/.93 Georgia,serif;letter-spacing:-.044em;margin:0;text-wrap:balance;overflow-wrap:anywhere}.soj-hero h1 em{color:#e4c990;font-weight:400}.soj-deck{font-size:clamp(16px,1.3vw,19px);line-height:1.55;max-width:36ch;margin:21px 0;color:#e1e3e5}.soj-actions{display:flex;flex-wrap:wrap;gap:10px}.soj-actions .btn{font-size:.8rem;letter-spacing:.05em;min-height:46px}.soj-actions .outline{border-color:#a89160;color:#fbf1de;background:#060d1699}
.soj-directory{align-items:start;gap:clamp(28px,7vw,115px);padding:clamp(44px,5vw,80px) 0}.soj-directory h2{font-size:clamp(34px,4vw,54px)}.soj-directory p{color:var(--muted);max-width:50ch}.soj-directory nav a{border-bottom:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:14px 0}.soj-directory nav a:first-child{border-top:1px solid var(--line)}.soj-directory nav span{font:normal 1.35rem Georgia,serif}.soj-directory nav small{font-size:.875rem;color:var(--muted);text-align:right}.soj-directory nav a:hover span{text-decoration:underline;text-underline-offset:4px}.soj-actions a:focus-visible,.header a:focus-visible,.soj-directory a:focus-visible{outline:2px solid #ba954b;outline-offset:4px}
html[data-theme="light"] .soj-directory,html[data-theme="sakura"] .soj-directory{--muted:#54575d}.footer-inner>div>small{font-size:.875rem;color:var(--gold)}.footer-inner>div>p{margin:.25em 0}.auth-intro{background-position:70% center}
@media(max-width:1270px){#menu{display:block;margin-left:auto}.header nav{display:none;position:absolute;inset:100% 0 auto;background:var(--navy);padding:16px;flex-direction:column;max-height:calc(100dvh - 100px);overflow-y:auto}.header nav.open{display:flex}html[data-theme="light"] .header nav{background:white}}
@media(max-width:760px){.soj-hero{display:flex;flex-direction:column;min-height:0}.hero-art{position:static;z-index:auto;display:block;aspect-ratio:3/1;height:auto;object-fit:contain}.hero-veil{display:none}.hero-inner{width:calc(100% - 40px);padding:27px 0 34px}.hero-content{width:100%}.soj-hero h1{font-size:clamp(47px,10vw,72px)}.soj-hero h1 br{display:none}.soj-hero h1 em::before{content:" "}.soj-directory{grid-template-columns:1fr}.soj-deck{max-width:48ch}.soj-actions .btn{min-height:44px}}
@media(max-width:420px){.topline{font-size:.65rem;letter-spacing:.08em}.brand{gap:7px}.brand b{font-size:.93rem}.header{gap:8px}.soj-directory nav small{max-width:45%}}
