@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&family=Noto+Serif+KR:wght@400;500;600;700&display=swap');
:root{--base:#0b101b;--blue:#111e30;--midnight:#0d1524;--wine:#491d33;--gold:#c8af81;--pale-gold:#e7d4ab;--chalk:#f5f0e7;--muted:#a9afb8;--line:#b9aa8e38;--serif:'Noto Serif KR','Nanum Myeongjo','Batang',Georgia,serif;--sans:'Noto Sans KR','Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;color-scheme:dark;scroll-behavior:smooth;scroll-padding-top:86px}
*{box-sizing:border-box}body{margin:0;background:var(--base);color:var(--chalk);font-family:var(--sans);font-size:16px;line-height:1.8;word-break:keep-all;-webkit-font-smoothing:antialiased}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-weight:inherit}button,a{font:inherit;color:inherit}button{cursor:pointer}a{text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible{outline:2px solid #f5ce8a;outline-offset:4px}[hidden]{display:none!important}html:has(dialog[open]){overflow:hidden}::selection{background:#a88155;color:#080c12}
.page-width{width:min(1260px,calc(100% - 100px));margin:0 auto}.top-rule{position:fixed;z-index:31;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#a1b8c7,#d6b879 48%,#9d5674)}
.masthead{height:76px;position:fixed;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(26px,5vw,82px);border-bottom:1px solid #d0bb9328;background:linear-gradient(180deg,#090d16ef,#0c1222da);backdrop-filter:blur(18px);transition:background .3s,box-shadow .3s}.masthead.is-scrolled{background:#0b111ef5;box-shadow:0 12px 35px #02050c40}.masthead-brand{display:inline-flex;align-items:center;gap:13px;font:500 15px/1.1 Georgia,'Times New Roman',serif;letter-spacing:.14em;white-space:nowrap}.masthead-brand em,.footer-brand em{font-style:normal;color:var(--gold)}.brand-mark{display:grid;place-items:center;font-size:31px;font-family:Georgia;color:var(--pale-gold);width:39px;height:39px;border:1px solid #d3b88465;transform:rotate(45deg)}.brand-mark::first-letter{transform:rotate(-45deg)}.masthead-brand>span:nth-child(2){padding-top:2px}
.nav{display:flex;align-items:center;gap:clamp(17px,3vw,48px);margin-left:auto;margin-right:clamp(25px,4vw,62px)}.nav a{font-size:13px;color:#cdd0d4;letter-spacing:.025em;position:relative;padding:27px 0 24px;transition:color .2s}.nav a:hover,.nav a[aria-current]{color:var(--pale-gold)}.nav a:after{content:'';position:absolute;bottom:14px;left:50%;right:50%;height:1px;background:var(--gold);transition:left .2s,right .2s}.nav a:hover:after,.nav a[aria-current]:after{left:0;right:0}.music-toggle{background:transparent;border:1px solid #c3b39160;padding:9px 12px;display:flex;align-items:center;gap:12px;font:11px/1.1 Georgia,serif;letter-spacing:.08em;color:#efdec0;min-height:37px}.music-toggle:hover{background:#ffffff11}.music-toggle #music-state{color:var(--gold)}.equalizer{height:14px;display:flex;gap:3px;align-items:center}.equalizer i{width:2px;height:4px;background:var(--pale-gold);transform-origin:center}.equalizer i:nth-child(2){height:12px}.equalizer i:nth-child(3){height:7px}.equalizer i:nth-child(4){height:10px}.music-toggle[aria-pressed=true] .equalizer i{animation:bars .7s ease-in-out infinite alternate}.music-toggle[aria-pressed=true] .equalizer i:nth-child(even){animation-delay:-.42s}
/* COVER: original character art, no illustrated comic panels */
.hero{min-height:740px;height:100svh;max-height:1120px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 65% 44%,#1b273e 0%,#101929 45%,#090f1b 85%)}.hero:before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#0b111c 0%,#0b111ba1 37%,transparent 72%),repeating-linear-gradient(90deg,#d4a47808 0 1px,transparent 1px 160px);pointer-events:none}.hero:after{content:'';position:absolute;pointer-events:none;z-index:2;left:0;right:0;bottom:0;height:230px;background:linear-gradient(transparent,#0b101b)}.hero-architecture{position:absolute;inset:6% 0 0 0;background:url('assets/architecture.svg') center bottom/cover no-repeat;opacity:.12;mix-blend-mode:screen}.hero-aurora{position:absolute;inset:0;background:radial-gradient(ellipse at 78% 33%,#7b38513b,transparent 44%),radial-gradient(ellipse at 66% 80%,#3f749042,transparent 42%);pointer-events:none}
.hero-scene{position:absolute;z-index:1;inset:60px -45px 0 42%;pointer-events:none;mask-image:linear-gradient(90deg,transparent 0,black 17%,black 92%,#000e 100%)}.hero-orbit{position:absolute;inset:auto;aspect-ratio:1;left:19%;top:6%;width:65%;border:1px solid #dbc6aa30;border-radius:50%;transform:rotate(-17deg)}.orbit-two{left:27%;top:15%;width:50%;border-color:#efd4a01b}.hero-orbit:before,.hero-orbit:after{content:'✧';position:absolute;top:10%;left:16%;font-size:22px;color:#ccaf84}.hero-orbit:after{top:69%;left:88%;font-size:12px}
.hero-figure{position:absolute;margin:0;overflow:hidden;box-shadow:0 30px 90px #02030d9b;border:1px solid #cfb18544;background:#161b2b;transform-origin:center;animation:coverEnter 1.4s both}.hero-figure:before{content:'';position:absolute;z-index:2;inset:0;pointer-events:none;box-shadow:inset 0 0 0 12px #080c1538,inset 0 0 0 13px #dfc39930}.hero-figure:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#07111ec0 0%,transparent 32%),linear-gradient(100deg,#111a2c26,transparent 52%)}.hero-figure img{width:100%;height:100%;object-fit:cover;object-position:center 35%;filter:saturate(.89) contrast(1.06)}.hero-angel{top:16%;right:34%;width:clamp(290px,31vw,480px);height:clamp(520px,70vh,750px);transform:rotate(-8deg);animation-delay:.03s}.hero-demon{top:5%;right:2%;width:clamp(280px,29vw,470px);height:clamp(530px,74vh,800px);transform:rotate(6deg);animation-delay:.15s}.hero-angel img{object-position:50% 28%}.hero-demon img{object-position:50% 29%}.hero-emblem{position:absolute;top:45%;left:51%;z-index:4;color:#edd4a8;font:italic 48px Georgia,serif;text-shadow:0 0 40px #f8dfac}.scene-caption{position:absolute;z-index:3;letter-spacing:.28em;color:#ebd1a2;font:11px Georgia,serif;writing-mode:vertical-rl}.scene-caption--top{right:2%;top:3%}.scene-caption--top span{color:#9e6d7b}.scene-caption--bottom{left:11%;bottom:7%;transform:rotate(180deg)}
.hero-inner{height:100%;display:flex;align-items:center;position:relative;z-index:5}.hero-copy{width:min(610px,55%);padding-top:76px;padding-bottom:58px;filter:drop-shadow(0 3px 16px #090c18cc)}.hero-eyebrow{font:11px/1.2 Georgia,serif;letter-spacing:.22em;color:#d6b98a;display:flex;align-items:center;gap:13px;margin-left:8px}.eyebrow-line{display:inline-block;width:32px;height:1px;background:#d5ac70}.hero-logo{width:570px;max-width:100%;margin:16px 0 7px -9px;filter:drop-shadow(0 7px 14px #02050cd1)}.hero-copyline{display:flex;align-items:center;gap:16px;margin:4px 0 36px 14px}.copyline-emblem{color:#d6b782;font-size:23px;align-self:flex-start;line-height:1.4}.hero-copyline p{color:#e2e0dc;font-size:clamp(15px,1.25vw,18px);line-height:2.05;letter-spacing:-.035em}.hero-enter{margin-left:14px;width:min(307px,calc(100% - 16px));display:flex;align-items:center;justify-content:space-between;padding:13px 0 13px 2px;border-top:1px solid #c5af86b0;border-bottom:1px solid #c5af86b0;color:#f1e4ca;font-size:14px;letter-spacing:.06em;transition:padding .25s,color .25s,background .25s}.hero-enter:hover{padding-left:12px;padding-right:10px;background:#c7ab7821;color:white}.enter-arrow{font:26px Georgia,serif;transition:transform .22s}.hero-enter:hover .enter-arrow{transform:translate(3px,-3px)}.hero-side-note{margin:23px 0 0 14px;font-size:12px;color:#a9b0b7;letter-spacing:.025em}.hero-footer{position:absolute;z-index:6;left:50%;bottom:28px;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;color:#aaa597;font:10px Georgia,serif;letter-spacing:.16em}.hero-scroll{display:inline-flex;gap:14px;align-items:center}.hero-scroll span{color:var(--gold);font:19px Arial,sans-serif}
/* Section scaffolding */
.chapter{position:relative;overflow:hidden;scroll-margin-top:60px}.section-heading{display:flex;align-items:center;gap:23px;padding:0 0 24px;margin-bottom:68px;border-bottom:1px solid #b9a78338}.section-index{color:#cdb589;font:12px Georgia,serif;letter-spacing:.16em;white-space:nowrap}.section-index span{color:#667389;padding:0 7px}.heading-stroke{height:1px;flex:1;background:#d7c8ac25}.heading-aside{color:#99a7b4;font-size:12px;letter-spacing:.06em;white-space:nowrap}.mini-overline{font:11px Georgia,'Times New Roman',serif;letter-spacing:.22em;color:#c5a77a;margin-bottom:19px}.chapter h2{font-family:var(--serif);font-weight:600;letter-spacing:-.07em;line-height:1.48;font-size:clamp(32px,3.6vw,54px)}.chapter h2 em{font-style:normal;color:var(--pale-gold)}
/* World */
.chapter-world{background:radial-gradient(ellipse at 0% 75%,#20304773,transparent 50%),linear-gradient(145deg,#0b111d,#121c2b 65%,#0b111a);padding:106px 0 124px}.chapter-world:before{content:'';position:absolute;right:-150px;top:-290px;width:730px;height:730px;border:1px solid #d4b77d12;border-radius:50%;box-shadow:0 0 0 85px #dfc18e05,0 0 0 180px #dfc18e05}.world-intro{display:grid;grid-template-columns:1.1fr .95fr;gap:clamp(45px,9vw,130px);align-items:start;margin-bottom:74px}.world-lead h2{max-width:660px}.world-prose{padding-top:20px}.world-prose p{font-size:15px;line-height:2.1;letter-spacing:-.018em;color:#c4c8cc;max-width:500px}.world-prose p+p{margin-top:15px}.world-prose strong{font-weight:700;color:#f1e0b7}.realm-strip{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid #c6ae834d;box-shadow:0 18px 55px #05080e42}.realm-block{position:relative;min-height:240px;padding:37px clamp(24px,2.9vw,42px);overflow:hidden}.realm-block:not(:last-child){border-right:1px solid #c9b48738}.realm-block:after{content:'';position:absolute;bottom:-55px;right:-15px;width:140px;height:140px;border:1px solid #ecd7aa21;border-radius:50%;box-shadow:0 0 0 23px #ecd7aa09,0 0 0 51px #ecd7aa08}.realm-block.celestial{background:linear-gradient(145deg,#1b3043,#121f2e)}.realm-block.accord{background:linear-gradient(145deg,#29293a,#171c2b)}.realm-block.infernal{background:linear-gradient(145deg,#352230,#231823)}.realm-title{display:flex;align-items:center;gap:11px;margin-bottom:32px;font:10px Georgia,serif;letter-spacing:.17em;color:#b7b6b3}.realm-symbol{color:#e0c994;font-size:23px;line-height:1}.realm-block h3{font:600 25px var(--serif);letter-spacing:-.05em}.realm-block h3 span{font:400 14px var(--sans);color:#cebeae}.realm-block p{font-size:13px;color:#b8c1c9;margin-top:10px}.rule-banner{margin-top:35px;display:flex;align-items:center;gap:35px;padding:25px 35px 27px 27px;background:linear-gradient(105deg,#e3d3ac0f,#8d647315 75%,#301b280d);border-top:1px solid #d7c08f5c;border-bottom:1px solid #d7c08f36}.rule-decoration{width:76px;height:76px;flex:none;border:1px solid #bd9d6780;display:grid;place-items:center;transform:rotate(45deg);font:36px Georgia;color:#ecd9ab}.rule-decoration::first-letter{transform:rotate(-45deg)}.rule-eyebrow{font:10px Georgia,serif;letter-spacing:.14em;color:#c5a577}.rule-banner h3{font:600 clamp(20px,2vw,28px) var(--serif);letter-spacing:-.045em;margin:7px 0 1px}.rule-banner h3 em{font-style:normal;color:#e8c38e}.rule-banner p{font-size:13px;color:#aeb6ba}.rule-link{flex:none;margin-left:auto;padding:12px 0;align-self:center;border:0;background:none;border-bottom:1px solid #c4a879;color:#f2dfba;font-size:13px}.rule-link span{margin-left:24px;font:19px Georgia}.rule-link:hover{color:#fff}
/* Campus */
.chapter-campus{padding:107px 0 122px;background:linear-gradient(180deg,#151a27,#1b2030 55%,#111723)}.campus-backdrop{position:absolute;inset:0;background:radial-gradient(ellipse at 78% 17%,#80445527,transparent 52%),url('assets/architecture.svg') center 60%/auto 125% no-repeat;opacity:.18;pointer-events:none}.campus-inner{position:relative}.campus-heading{display:flex;justify-content:space-between;align-items:end;gap:60px;margin-bottom:58px}.campus-heading>p{max-width:430px;color:#c3c4c8;font-size:15px;line-height:2.05}.campus-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card{min-height:326px;padding:29px 30px;background:linear-gradient(155deg,#192536f2,#0f1726ee);border:1px solid #c1af8a50;position:relative;transition:transform .25s,border-color .25s,box-shadow .25s}.feature-card:hover{transform:translateY(-5px);border-color:#d7bf8f9c;box-shadow:0 16px 38px #070b1799}.feature-card:before{content:'';position:absolute;left:12px;top:12px;right:12px;bottom:12px;border:1px solid #bdab8020;pointer-events:none}.feature-top{display:flex;justify-content:space-between;align-items:center;font:12px Georgia,serif;letter-spacing:.1em;color:#b7a47d}.feature-icon{font-size:34px;color:#d1b685}.feature-card h3{font:600 28px var(--serif);letter-spacing:-.055em;margin:38px 0 11px}.feature-card p{font-size:14px;line-height:1.9;color:#bfc3c9;max-width:300px}.feature-en{position:absolute;bottom:28px;left:30px;font:10px Georgia,serif;letter-spacing:.16em;color:#807f85}.campus-footnote{display:flex;align-items:center;justify-content:center;gap:25px;margin:54px auto 0;color:#9ca3ae;font:14px var(--serif);letter-spacing:-.03em}.campus-footnote span{font-size:24px;color:#bda477}
/* People */
.chapter-people{padding:107px 0 125px;background:radial-gradient(ellipse at 95% 0%,#58344a46,transparent 30%),linear-gradient(180deg,#101724,#0a101b)}.people-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:38px}.people-head h2{font-size:clamp(33px,3.4vw,49px)}.people-desc{margin-top:15px;font-size:14px;color:#acb7be;line-height:1.9}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex:none;padding-bottom:5px}.filters button{font-size:13px;padding:7px 16px;border:1px solid #cab99455;background:#ffffff07;color:#c3c2c2;transition:background .2s,border .2s,color .2s}.filters button:hover{border-color:#ddc499a9;color:#f4e4c9}.filters button[aria-pressed=true]{background:#c6aa7d;color:#10141d;border-color:#c6aa7d;font-weight:700}.character-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.character-card{position:relative;display:block;padding:0;background:#151e2a;color:white;overflow:hidden;text-align:left;aspect-ratio:.75;border:1px solid #c5af8a38;transition:transform .25s,border-color .25s,box-shadow .25s;isolation:isolate}.character-card:hover,.character-card:focus-visible{transform:translateY(-6px);border-color:#dcc08ba3;box-shadow:0 18px 45px #03040cac}.character-card:after{content:'';position:absolute;z-index:1;inset:18% 0 0;pointer-events:none;background:linear-gradient(transparent 44%,#090f1fc7 76%,#070b13 100%)}.character-card:before{content:'';position:absolute;z-index:2;inset:8px;border:1px solid #e6d7ac2e;pointer-events:none}.character-card img{width:100%;height:100%;object-fit:cover;object-position:center 42%;transition:transform .5s;filter:saturate(.94)}.character-card:hover img{transform:scale(1.05)}.character-card .card-top{position:absolute;z-index:3;top:19px;left:19px;right:19px;display:flex;align-items:center;justify-content:space-between;font:10px Georgia,serif;letter-spacing:.12em;color:#f2e6d4;text-shadow:0 2px 7px #000}.card-class{padding:3px 7px;background:#0c1b2bb0;border:1px solid #d5b88358}.character-card.demon .card-class{background:#381727c9}.card-star{font-size:18px;color:#d4b783}.card-bottom{position:absolute;z-index:3;left:20px;right:16px;bottom:17px;display:block}.card-index{display:block;font:11px Georgia,serif;color:#c9b28b;margin-bottom:3px;letter-spacing:.1em}.card-name{display:block;font:600 clamp(19px,1.9vw,27px) var(--serif);letter-spacing:-.055em;line-height:1.45}.card-role{display:block;color:#b6b9bc;font-size:12px;margin-top:5px}.cards-note{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#7d8a98;margin-top:24px}.cards-note span{color:#a6a28f}
.epilogue{background:linear-gradient(90deg,#1c2434,#292335 48%,#231b2a);border-top:1px solid #b6a17d4b;border-bottom:1px solid #b6a17d33;text-align:center;padding:45px 0 52px}.epilogue-glyph{font-size:36px;color:#d1b27e}.epilogue p{font:500 clamp(16px,1.6vw,21px) var(--serif);letter-spacing:-.04em;margin:13px 0 20px}.epilogue a{display:inline-block;border-bottom:1px solid #d4b882;padding-bottom:5px;color:#ebd5aa;font-size:13px}.epilogue a span{margin-left:14px}.site-footer{background:#080c15;padding:32px 0}.site-footer>.page-width{display:flex;gap:25px;align-items:center;justify-content:space-between}.footer-brand{font:13px Georgia,serif;letter-spacing:.16em;white-space:nowrap}.site-footer span:nth-child(2){font-size:12px;color:#7d8895}.site-footer a{color:#b0a48f;font:11px Georgia,serif;letter-spacing:.1em}
/* Image gallery / webtoon */
dialog{border:1px solid #c2a47c80;padding:0;color:#f6eee3;background:#111723;max-width:calc(100vw - 30px);max-height:94svh;box-shadow:0 38px 100px #000a;overscroll-behavior:contain}dialog::backdrop{background:#05060ed9;backdrop-filter:blur(8px)}dialog[open]{animation:dialogIn .3s both}.profile-dialog{width:min(1120px,calc(100vw - 36px))}.profile-layout{display:grid;grid-template-columns:minmax(0,55%) minmax(0,45%);min-height:580px;max-height:90svh}.profile-gallery{position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:#131b2b;min-height:400px}.gallery-backdrop{position:absolute;z-index:-1;inset:-50px;background:center center/cover no-repeat;filter:blur(32px) brightness(.3) saturate(.8);transform:scale(1.15)}.profile-gallery:after{content:'';position:absolute;z-index:0;inset:0;border-right:1px solid #bdac8c53;pointer-events:none}.profile-gallery>img{position:relative;z-index:1;width:100%;height:100%;max-height:90svh;object-fit:contain;transition:opacity .2s}.gallery-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:45px;height:55px;display:grid;place-items:center;background:#0c1322cc;border:1px solid #dbc49b99;color:#f4e8d4;font:32px Georgia;line-height:1;transition:background .2s}.gallery-arrow:hover{background:#5d4b47e3}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-control{position:absolute;z-index:2;bottom:15px;left:50%;transform:translateX(-50%);background:#0b1323e8;border:1px solid #c4af8577;padding:9px 18px;display:flex;align-items:center;gap:20px;white-space:nowrap}.gallery-control>span{font:11px Georgia,serif;letter-spacing:.1em;color:#eddbb5}.gallery-dots{display:flex;gap:6px}.gallery-dots button{padding:0;width:18px;height:12px;background:none;border:0;display:grid;place-items:center}.gallery-dots button:after{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#726d66;transition:background .2s,transform .2s}.gallery-dots button[aria-current=true]:after{background:#f0d39e;transform:scale(1.5)}.profile-copy{min-width:0;display:flex;flex-direction:column;overflow-y:auto;background:radial-gradient(ellipse at top right,#46304150,transparent 58%),linear-gradient(145deg,#192334,#101825)}.profile-top{display:flex;align-items:center;justify-content:space-between;height:70px;min-height:70px;padding:0 25px;border-bottom:1px solid #c9ac7a3c}.profile-top span{font:11px Georgia,serif;letter-spacing:.18em;color:#d6b989}.close{width:38px;height:38px;border:1px solid #ddbe995e;background:#101621;color:#ead9b9;font:30px/1 Arial,sans-serif;display:grid;place-items:center}.close:hover{background:#d2b388;color:#121927}.profile-info{padding:45px clamp(27px,4vw,58px) 50px}.profile-info .mini-overline{margin:0 0 12px}.profile-info h2{font:600 clamp(32px,3.4vw,46px) var(--serif);letter-spacing:-.06em;line-height:1.45}.profile-role{font-size:13px;color:#c8bca9;margin:6px 0 35px}.profile-meta{border-top:1px solid #bca57d38;padding:13px 0 12px;display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:baseline}.profile-meta>span{font:10px Georgia,serif;letter-spacing:.09em;color:#b9a680}.profile-meta>strong{font-size:14px;font-weight:400;color:#f0ebe4}.profile-description{margin:28px 0 30px;color:#c6c7c9;font-size:14px;line-height:2.1}.profile-quote{border-left:2px solid #a89170;padding:3px 0 1px 20px}.profile-quote span{font:10px Georgia,serif;letter-spacing:.1em;color:#bcab91}.profile-quote p{margin-top:9px;font-size:13px;color:#b9bdc2;line-height:1.8}
.reader-dialog{width:min(720px,calc(100vw - 28px));background:#0d1320}.reader-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:15px 23px;background:#111929f5;border-bottom:1px solid #ad9b7863;backdrop-filter:blur(12px)}.reader-head small{font:10px Georgia,serif;letter-spacing:.15em;color:#b69d70}.reader-head h2{font:600 23px var(--serif)}.comic{margin:auto;max-width:640px;background:white}.comic img{display:block;width:100%;height:auto}.reader-end{display:flex;align-items:center;justify-content:center;gap:20px;padding:30px;font:12px Georgia,serif;letter-spacing:.18em;color:#d0ad77}.reader-end span{font-size:20px}
@keyframes coverEnter{from{opacity:0;filter:brightness(.5)}to{opacity:1;filter:brightness(1)}}@keyframes bars{to{transform:scaleY(.3)}}@keyframes dialogIn{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:1100px){.page-width{width:calc(100% - 68px)}.hero-copy{width:58%}.hero-scene{inset:70px -70px 0 37%}.hero-angel{right:39%;width:370px}.hero-demon{right:3%;width:370px}.realm-block{padding:30px 25px}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-name{font-size:23px}}
@media(max-width:780px){.masthead{padding:0 22px;height:65px}.masthead-brand{font-size:12px;gap:10px}.brand-mark{width:30px;height:30px;font-size:24px}.nav{gap:16px;margin-right:18px}.nav a{font-size:12px}.music-toggle{padding:7px;gap:5px}.page-width{width:calc(100% - 48px)}.hero{height:850px;min-height:700px;max-height:none}.hero-scene{inset:60px -200px 0 17%;opacity:.6;mask-image:linear-gradient(90deg,transparent,black 23%,black 75%,transparent 100%)}.hero-figure{height:590px}.hero-angel{top:11%;right:38%;width:320px}.hero-demon{top:4%;right:8%;width:340px}.hero:before{background:linear-gradient(90deg,#0b111be8,#0b111ba2 50%,#0b111b34)}.hero-copy{width:72%;padding-top:125px}.hero-logo{width:470px}.hero-copyline p{font-size:15px}.hero-footer{font-size:9px}.hero-footer>span:first-child{display:none}.world-intro{grid-template-columns:1fr;gap:22px}.world-prose{padding:0}.world-prose p{max-width:640px}.realm-strip{grid-template-columns:1fr}.realm-block{min-height:170px;padding:24px 32px}.realm-title{margin-bottom:10px}.realm-block:not(:last-child){border-right:0;border-bottom:1px solid #c9b48738}.realm-block:after{bottom:-75px}.chapter-world,.chapter-campus,.chapter-people{padding:75px 0 90px}.section-heading{margin-bottom:48px}.rule-banner{gap:26px}.rule-link{margin:0}.campus-heading{display:block}.campus-heading>p{max-width:680px;margin-top:25px}.campus-features{gap:10px}.feature-card{min-height:330px;padding:23px 20px}.feature-card h3{font-size:23px}.feature-en{left:20px;bottom:24px}.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.people-head{align-items:start;flex-direction:column;gap:23px}.profile-layout{grid-template-columns:1fr;max-height:90svh;overflow-y:auto}.profile-dialog{max-height:91svh}.profile-gallery{min-height:0;height:320px}.profile-gallery>img{max-height:320px}.profile-copy{overflow:visible}.profile-info{padding:30px 30px 40px}.profile-top{height:58px;min-height:58px}}
@media(max-width:560px){:root{scroll-padding-top:61px}.masthead{height:61px;padding:0 14px}.masthead-brand{font-size:10px;letter-spacing:.06em}.masthead-brand>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.brand-mark{width:28px;height:28px;font-size:21px}.nav{gap:12px;margin:0 10px 0 auto}.nav a{font-size:11px;padding:20px 0}.nav a:first-child{display:none}.header-actions{flex:none}.music-toggle{padding:6px;min-height:32px}.music-toggle>span:last-child{font-size:9px}.equalizer{gap:2px}.page-width{width:calc(100% - 36px)}.hero{min-height:685px;height:100svh;max-height:900px}.hero-scene{inset:56px -120px 0 -35px;opacity:.59;mask-image:linear-gradient(0deg,transparent,black 35%,black 74%,transparent 100%)}.hero-figure:before{box-shadow:inset 0 0 0 7px #080c1538,inset 0 0 0 8px #dfc39930}.hero-angel{width:230px;height:430px;top:10%;right:49%}.hero-demon{width:260px;height:475px;top:5%;right:6%}.hero-orbit{width:90%;left:12%;top:3%}.hero-emblem{display:none}.scene-caption{display:none}.hero-aurora{background:linear-gradient(0deg,#09101ae5,#09101a42 65%)}.hero:before{background:linear-gradient(0deg,#09101bfa 0%,#0b1322dd 20%,#0b132260 69%,#0b1322a1)}.hero-inner{align-items:flex-end}.hero-copy{width:100%;padding-top:0;padding-bottom:105px}.hero-eyebrow{font-size:9px;margin:0;letter-spacing:.12em}.eyebrow-line{width:18px}.hero-logo{width:min(370px,100%);margin:9px 0 0 -12px}.hero-copyline{margin:-4px 0 23px 0;gap:8px}.copyline-emblem{font-size:15px}.hero-copyline p{font-size:13px;line-height:1.95}.hero-enter{margin-left:0;width:100%;padding:9px 3px;font-size:13px}.hero-side-note{margin:15px 0 0;font-size:11px;color:#b7b7b4}.hero-footer{bottom:20px}.hero-footer>span:last-child{display:none}.hero-scroll{margin-left:auto}.section-heading{gap:12px;padding-bottom:16px;margin-bottom:38px}.section-index{font-size:10px}.heading-aside{display:none}.chapter h2{font-size:clamp(29px,7.3vw,39px);line-height:1.55}.mini-overline{font-size:10px;margin-bottom:13px}.world-intro{margin-bottom:40px;gap:20px}.world-prose p{font-size:14px;line-height:2.05}.realm-block{padding:21px 23px;min-height:149px}.realm-block h3{font-size:22px}.realm-block p{font-size:12px}.realm-title{font-size:9px;margin-bottom:13px}.rule-banner{margin-top:23px;gap:18px;flex-wrap:wrap;padding:21px 17px}.rule-decoration{width:45px;height:45px;font-size:27px}.rule-banner>div:nth-child(2){flex:1}.rule-banner h3{font-size:19px}.rule-banner p{font-size:12px;line-height:1.6}.rule-link{width:100%;text-align:right;padding-top:7px}.campus-heading{margin-bottom:32px}.campus-heading>p{font-size:14px;margin-top:16px}.campus-features{grid-template-columns:1fr;gap:11px}.feature-card{min-height:0;padding:22px 25px 25px}.feature-top{font-size:11px}.feature-icon{font-size:24px}.feature-card h3{font-size:24px;margin:10px 0 6px}.feature-card p{font-size:13px;max-width:100%;padding-right:20px}.feature-en{position:static;display:block;margin-top:16px}.campus-footnote{gap:12px;font-size:12px;margin-top:37px}.campus-footnote span{font-size:17px}.people-head{margin-bottom:22px}.people-desc{font-size:13px}.filters{gap:7px}.filters button{font-size:12px;padding:6px 13px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.character-card{aspect-ratio:.77}.character-card:before{inset:6px}.card-top{top:12px!important;left:12px!important;right:12px!important}.card-bottom{left:13px;right:10px;bottom:11px}.card-class{font-size:9px;padding:2px 5px}.card-name{font-size:21px}.card-role{font-size:11px;margin-top:0}.cards-note{font-size:11px;display:block;line-height:1.9}.cards-note span{display:block}.epilogue{padding:38px 0 43px}.epilogue p{font-size:15px}.site-footer>.page-width{align-items:start;flex-wrap:wrap;gap:10px}.site-footer span:nth-child(2){order:3;width:100%}.site-footer a{margin-left:auto}.profile-dialog{width:calc(100vw - 18px);max-width:calc(100vw - 18px)}.profile-gallery{height:270px}.profile-gallery>img{max-height:270px}.gallery-arrow{width:32px;height:38px;font-size:25px}.gallery-prev{left:6px}.gallery-next{right:6px}.gallery-control{bottom:7px;padding:5px 9px;gap:10px}.gallery-dots{gap:3px}.gallery-dots button{width:15px}.profile-top{padding:0 18px}.profile-info{padding:27px 20px 35px}.profile-info h2{font-size:31px}.profile-role{margin-bottom:25px}.profile-meta{grid-template-columns:114px 1fr}.profile-description{margin:23px 0;font-size:13px}.reader-head{padding:12px 15px}.reader-head h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* V4 — interactive cover and living academy */
html{scroll-behavior:smooth}
body.is-at-gate{overflow:hidden;height:100svh}
body.is-at-gate .site-interior,body.is-at-gate .site-footer{display:none}
body.is-at-gate .masthead{visibility:hidden;opacity:0;pointer-events:none}
body.site-entered .masthead{animation:headerDescent .85s .34s cubic-bezier(.2,.75,.2,1) both}
body.site-entered .site-interior{animation:interiorArrival .85s ease-out both}
body.site-entered .hero{pointer-events:none;animation:gateVanish 1.02s cubic-bezier(.65,0,.21,1) forwards}
body.site-entered .site-footer{animation:interiorArrival 1s ease both}
.reading-progress{position:fixed;z-index:112;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#729bbb,#f1d79e 52%,#bb607b);transform:scaleX(0);transform-origin:left center;box-shadow:0 0 16px #d6b38e80;pointer-events:none}
.is-at-gate .reading-progress{opacity:0}
.hero{position:fixed;inset:0;z-index:100;width:100%;max-height:none;min-height:0;height:100svh;cursor:pointer;contain:layout paint;--parallax-x:0px;--parallax-y:0px;--cursor-x:65%;--cursor-y:46%}
.hero:focus-visible{outline:4px solid #f0d39e;outline-offset:-9px}
.hero-aurora{animation:auroraSweep 12s ease-in-out infinite alternate;filter:saturate(1.25)}
.hero-aurora:before{content:'';position:absolute;inset:0;background:radial-gradient(circle 410px at var(--cursor-x) var(--cursor-y),#f3d2a016,transparent 75%);opacity:.95;mix-blend-mode:screen}
.hero-architecture{animation:architectureBreathe 10s ease-in-out infinite alternate}
.hero-scene{transform:translate3d(var(--parallax-x),var(--parallax-y),0);transition:transform .45s cubic-bezier(.2,.75,.3,1)}
.hero-angel{animation:coverEnter 1.4s both,portraitHover 6.3s 1.4s ease-in-out infinite;}
.hero-demon{animation:coverEnter 1.5s .12s both,portraitHoverAlt 7.5s 1.6s ease-in-out infinite;}
.hero-orbit{animation:orbitClockwise 40s linear infinite}
.orbit-two{animation:orbitCounter 32s linear infinite}
.hero-orbit:before,.hero-orbit:after{filter:drop-shadow(0 0 9px #e1c084bd)}
.hero-figure:before{animation:frameLuster 5s ease-in-out infinite alternate}
.hero-emblem{animation:sealPulse 2.6s ease-in-out infinite;filter:drop-shadow(0 0 20px #f4d8a59c)}
.hero-logo{animation:logoAwaken 1.15s .22s cubic-bezier(.2,.8,.2,1) both,logoFloat 7s 1.4s ease-in-out infinite}
.hero-eyebrow{animation:slideInCrest .9s .16s both}
.hero-copyline{animation:slideInCrest .85s .48s both}
.hero-enter{position:relative;overflow:hidden;animation:slideInCrest .85s .74s both,enterGlow 3s 1.8s ease-in-out infinite;transition:padding .28s,background .28s,box-shadow .28s,border-color .28s}
.hero-enter small{display:inline-block;font-size:11px;color:#bfb6a7;letter-spacing:0;margin-left:14px;font-weight:400}
.hero-enter:before{content:'';position:absolute;top:0;left:-120%;width:80%;height:100%;background:linear-gradient(100deg,transparent,#ffebc31d 44%,#fff5d35b 52%,transparent);transform:skewX(-25deg);animation:enterSweep 4.3s 2.1s ease-in-out infinite}
.hero:hover .hero-enter{background:#a9855838;padding-left:15px;padding-right:14px;border-color:#efd3a1;box-shadow:0 0 30px #b7a07c24}
.hero:hover .enter-arrow{transform:translate(5px,-5px)}
.hero-footer{animation:footerAwaken 1.25s 1.25s both}
.hero-scroll{color:#ebcfa5;animation:instructionPulse 2.1s ease-in-out infinite}
.hero-scroll span{animation:starTurn 5s linear infinite}
.gate-sparkles{position:absolute;inset:0;z-index:4;overflow:hidden;pointer-events:none;mask-image:linear-gradient(0deg,transparent,black 16%,black 94%,transparent)}
.spark{position:absolute;display:block;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:#c7dcff;box-shadow:0 0 13px #8ebcfcaa;opacity:0;animation:particleDrift var(--duration) var(--delay) linear infinite}
.spark-bright{background:#ffe5aa;box-shadow:0 0 7px #fae5b7,0 0 20px #e8c0839e}
.spark-rose{background:#ffb3cb;box-shadow:0 0 12px #e473a4a6}
.gate-light-ribbons{position:absolute;inset:0;z-index:2;overflow:hidden;pointer-events:none;mix-blend-mode:screen;opacity:.5}
.gate-light-ribbons i{position:absolute;display:block;left:58%;top:-35%;height:165%;width:2px;background:linear-gradient(180deg,transparent,#7ac8ff44 30%,#f5d9ab84 55%,transparent);transform:rotate(29deg);filter:blur(1px);animation:ribbonPass 8s ease-in-out infinite}
.gate-light-ribbons i:nth-child(2){left:70%;animation-delay:-2.9s;animation-duration:11s;background:linear-gradient(180deg,transparent,#eb729354,#fbe6b795,transparent)}
.gate-light-ribbons i:nth-child(3){left:47%;animation-delay:-5.4s;animation-duration:9s}
.gate-shimmer{position:absolute;z-index:10;inset:0;pointer-events:none;opacity:0}
.gate-shimmer:before{content:'';position:absolute;inset:-40%;background:radial-gradient(circle at 50% 50%,#fffbea 0%,#f1d9b9ac 11%,#bd96a55c 23%,transparent 49%);transform:scale(.05)}
.site-entered .gate-shimmer{animation:shimmerVisibility .83s ease-out both}
.site-entered .gate-shimmer:before{animation:entryLightBurst .82s cubic-bezier(.1,.8,.1,1) both}

/* Scroll staging */
.reveal{opacity:0;transform:translate3d(0,32px,0);filter:blur(5px);transition:opacity .88s ease,transform .88s cubic-bezier(.15,.75,.24,1),filter .88s ease;transition-delay:var(--reveal-delay,0ms)}
.reveal.is-visible{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}
.section-heading{position:relative}
.section-heading:after{content:'';position:absolute;bottom:-1px;left:0;width:0;height:1px;background:linear-gradient(90deg,#edca8c,transparent);box-shadow:0 0 10px #dfc7938c;transition:width 1.3s .15s ease}
.section-heading.is-visible:after{width:100%}
.chapter-world:before{animation:haloBreathe 11s ease-in-out infinite alternate}
.chapter-world:after,.chapter-people:after{content:'';position:absolute;z-index:0;pointer-events:none;width:400px;height:400px;border:1px solid #e6c78f19;border-radius:50%;right:-250px;bottom:-190px;box-shadow:0 0 0 75px #e3bd7507,0 0 0 150px #d8b57705;animation:arcDrift 26s linear infinite}
.chapter-world>.page-width,.chapter-people>.page-width{position:relative;z-index:1}
.world-prose{border-left:1px solid #bfab7d42;padding-left:30px}
.world-prose p{color:#d1d6da;font-size:15px;line-height:2.05}
.world-prose p+p{margin-top:12px}
.realm-block{isolation:isolate;transition:background .35s,transform .35s,box-shadow .35s}
.realm-block:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,transparent 28%,#f7dcab19 48%,transparent 61%);transform:translateX(-140%);transition:transform .9s ease}
.realm-block:hover:before{transform:translateX(130%)}
.realm-block:hover{box-shadow:inset 0 0 46px #f4d5a51b}
.realm-symbol{display:inline-block;animation:smallSymbolGlow 3.3s ease-in-out infinite}
.realm-block:nth-child(2) .realm-symbol{animation-delay:-1s}
.realm-block:nth-child(3) .realm-symbol{animation-delay:-2s}
.rule-banner{position:relative;overflow:hidden;transition:border-color .35s,background .35s}
.rule-banner:before{content:'';position:absolute;top:-100%;left:-25%;width:45%;height:250%;background:linear-gradient(90deg,transparent,#e8c68b19,transparent);transform:rotate(22deg);animation:ruleSweep 9s ease-in-out infinite;pointer-events:none}
.rule-banner:hover{border-top-color:#ffe3a1;background:linear-gradient(105deg,#e3d3ac19,#8d647323 75%,#301b280d)}
.rule-decoration{animation:ruleRotate 16s linear infinite;box-shadow:0 0 35px #c3a16b26}
.rule-link span{display:inline-block;transition:transform .25s ease}
.rule-link:hover span{transform:translate(4px,-4px)}
.campus-backdrop{animation:campusHaze 16s ease-in-out infinite alternate}
.feature-card{overflow:hidden;transition:transform .45s cubic-bezier(.2,.8,.2,1),border-color .35s,box-shadow .4s}
.feature-card:after{content:'';position:absolute;top:-35%;left:-95%;width:62%;height:160%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,#efddb71d 48%,transparent);transition:left .85s ease;pointer-events:none}
.feature-card:hover:after{left:155%}
.feature-card:hover{transform:translateY(-10px) scale(1.015);box-shadow:0 20px 55px #070b17b3,0 0 26px #d6b98a16}
.feature-icon{display:inline-block;animation:featureSymbol 5s ease-in-out infinite}
.feature-card:nth-child(2) .feature-icon{animation-delay:-1.5s}
.feature-card:nth-child(3) .feature-icon{animation-delay:-2.5s}
.filters button{transition:background .3s,transform .3s,border-color .3s,color .3s,box-shadow .3s}
.filters button:hover{transform:translateY(-3px);box-shadow:0 5px 20px #cbac7830}
.filters button[aria-pressed=true]{box-shadow:0 0 22px #dfbd7d46}
.character-card{transition:transform .45s cubic-bezier(.2,.85,.25,1),border-color .3s,box-shadow .45s;will-change:transform}
.site-entered .character-card.card-appear{animation:cardCascade .6s cubic-bezier(.16,.8,.2,1) both;animation-delay:var(--stagger,0ms)}
.character-card:hover,.character-card:focus-visible{transform:translateY(-12px) scale(1.023);box-shadow:0 24px 55px #03040cd9,0 0 28px #dfbc8a2f}
.character-card img{transition:transform .8s cubic-bezier(.2,.85,.2,1),filter .7s}
.character-card:hover img{transform:scale(1.095);filter:saturate(1.1) brightness(1.1)}
.card-star{display:inline-block;transition:transform .5s,color .35s}
.character-card:hover .card-star{transform:rotate(120deg) scale(1.3);color:#ffe4ae}
.character-card .card-bottom{transition:transform .42s}
.character-card:hover .card-bottom{transform:translateY(-5px)}
.profile-dialog[open],.reader-dialog[open]{animation:dialogPop .45s cubic-bezier(.16,.85,.25,1) both}
.profile-dialog::backdrop,.reader-dialog::backdrop{background:#02050be0;backdrop-filter:blur(7px)}
.gallery-arrow{transition:transform .25s,background .25s,color .25s}
.gallery-prev:hover{transform:translateX(-5px)}
.gallery-next:hover{transform:translateX(5px)}
.gallery-dots button[aria-current=true]:after{box-shadow:0 0 12px #f5d8aa88}
.masthead-brand .brand-mark{animation:brandRotation 17s linear infinite}
.nav a{transition:color .2s,text-shadow .3s}
.nav a:hover{text-shadow:0 0 20px #e4cba161}

@keyframes headerDescent{from{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}
@keyframes interiorArrival{from{opacity:.3;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@keyframes gateVanish{0%,16%{opacity:1;clip-path:inset(0 0 0 0);filter:brightness(1)}52%{opacity:1;filter:brightness(1.65)}100%{opacity:0;clip-path:inset(0 50% 0 50%);filter:brightness(2.5)}}
@keyframes shimmerVisibility{0%{opacity:0}26%{opacity:1}100%{opacity:0}}
@keyframes entryLightBurst{0%{transform:scale(.08);opacity:.2}50%{transform:scale(.75);opacity:1}100%{transform:scale(2.4);opacity:0}}
@keyframes auroraSweep{0%{opacity:.72;transform:translateX(-2%) scale(1)}50%{opacity:1}100%{opacity:.9;transform:translateX(2%) scale(1.15)}}
@keyframes architectureBreathe{0%{opacity:.09;transform:scale(1)}100%{opacity:.2;transform:scale(1.04)}}
@keyframes portraitHover{0%,100%{translate:0 0}50%{translate:0 -13px}}
@keyframes portraitHoverAlt{0%,100%{translate:0 -4px}50%{translate:0 13px}}
@keyframes orbitClockwise{to{rotate:360deg}}
@keyframes orbitCounter{to{rotate:-360deg}}
@keyframes frameLuster{0%{opacity:.35}100%{opacity:1}}
@keyframes sealPulse{0%,100%{opacity:.6;scale:.92}50%{opacity:1;scale:1.14}}
@keyframes logoAwaken{from{opacity:0;transform:translateY(24px) scale(.965);filter:blur(8px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}
@keyframes logoFloat{0%,100%{translate:0 0}50%{translate:0 -5px}}
@keyframes slideInCrest{from{opacity:0;transform:translateX(-19px)}to{opacity:1;transform:translateX(0)}}
@keyframes enterGlow{0%,100%{box-shadow:0 0 0 #d9bb7c00}50%{box-shadow:0 0 25px #cfb17a25}}
@keyframes enterSweep{0%,43%{left:-130%}64%{left:145%}100%{left:145%}}
@keyframes footerAwaken{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes instructionPulse{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes starTurn{to{rotate:360deg}}
@keyframes particleDrift{0%{transform:translate3d(0,12px,0) scale(.3);opacity:0}17%{opacity:.85}58%{opacity:.65}100%{transform:translate3d(22px,-94px,0) scale(1.15);opacity:0}}
@keyframes ribbonPass{0%,100%{transform:rotate(29deg) translateX(-40px);opacity:.1}50%{transform:rotate(29deg) translateX(55px);opacity:.85}}
@keyframes haloBreathe{to{transform:scale(1.16);opacity:.55}}
@keyframes arcDrift{to{transform:rotate(360deg)}}
@keyframes smallSymbolGlow{0%,100%{filter:drop-shadow(0 0 0 transparent);transform:scale(1)}50%{filter:drop-shadow(0 0 10px #eac8979c);transform:scale(1.13)}}
@keyframes ruleSweep{0%,60%{left:-65%}90%,100%{left:150%}}
@keyframes ruleRotate{to{transform:rotate(405deg)}}
@keyframes campusHaze{to{opacity:.3;transform:scale(1.05)}}
@keyframes featureSymbol{0%,100%{transform:translateY(0) rotate(0deg);opacity:.8}50%{transform:translateY(-6px) rotate(12deg);opacity:1}}
@keyframes cardCascade{from{opacity:0;translate:0 24px;filter:brightness(.7)}to{opacity:1;translate:0 0;filter:brightness(1)}}
@keyframes dialogPop{from{opacity:0;transform:translateY(19px) scale(.967)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes brandRotation{to{rotate:360deg}}
@media(max-width:780px){
 .hero{min-height:0;height:100svh}
 .hero-aurora{animation-duration:14s}
 .world-prose{padding:0 0 0 20px}
 .feature-card:hover{transform:translateY(-5px)}
}
@media(max-width:560px){
 .hero{min-height:0;height:100svh;max-height:none}
 .hero-enter small{margin-left:10px;font-size:10px}
 .hero-copy{padding-bottom:119px}
 .hero-footer{bottom:23px}
 .hero-footer .hero-scroll{font-size:9px;letter-spacing:.08em}
 .world-prose{padding-left:15px}
 .chapter-world,.chapter-campus,.chapter-people{padding:66px 0 84px}
 .hero-orbit{animation-duration:50s}
 .character-card:hover{transform:translateY(-6px)}
 .realm-block:hover{box-shadow:none}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
 .reveal{opacity:1!important;transform:none!important;filter:none!important}
 .site-entered .hero{animation-duration:.001ms!important}
 .hero-scene{transform:none!important}
}


/* V5 editorial cleanup — only Heaven and Hell as the two realms. */
.hero-copyline{margin-top:14px;margin-bottom:30px}
.hero-copyline p{font-size:clamp(15px,1.2vw,17px);line-height:1.65}
.hero-scroll{white-space:nowrap;font-family:var(--sans);font-size:11px;letter-spacing:.07em}
.hero-footer{justify-content:flex-end}
.chapter-world{padding-bottom:95px}
.world-intro{grid-template-columns:minmax(210px,.72fr) minmax(0,1.25fr);gap:clamp(25px,5vw,85px);margin-bottom:38px;align-items:center}
.world-lead h2{font-size:clamp(33px,3.5vw,52px)}
.world-prose{padding-top:0;padding-left:24px}
.world-prose p{max-width:770px;font-size:16px;line-height:1.9}
.realm-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.realm-block{min-height:190px;padding:38px clamp(25px,3vw,54px) 35px;display:flex;flex-direction:column;justify-content:center}
.realm-block h3{font-size:clamp(27px,2.7vw,37px);margin-top:5px}
.realm-block p{font-size:14px;line-height:1.85;margin-top:13px}
.realm-block .realm-symbol{font-size:28px}
.world-actions{display:flex;justify-content:flex-end;margin-top:25px}
.prologue-link{border:0;background:transparent;border-bottom:1px solid #bda77b99;padding:5px 0 10px;color:#e7d4ab;font-size:13px;transition:color .2s,border-color .2s,transform .2s}
.prologue-link span{display:inline-block;margin-left:20px;transition:transform .2s}
.prologue-link:hover{color:white;border-color:#f1dab4}
.prologue-link:hover span{transform:translate(4px,-4px)}
.campus-heading{align-items:center;margin-bottom:35px}
.campus-heading>p{font-size:15px;line-height:1.9}
.feature-card{min-height:230px;padding:26px 30px 31px}
.feature-card h3{margin:22px 0 8px;font-size:25px}
.feature-card p{font-size:14px;line-height:1.65}
.chapter-campus{padding-top:92px;padding-bottom:96px}
.chapter-people{padding-top:92px}
.profile-info{padding-bottom:30px}
@media(max-width:780px){
 .world-intro{grid-template-columns:1fr;gap:15px;margin-bottom:31px}
 .world-prose{border-left:0;padding-left:0}
 .world-prose p{max-width:780px}
 .realm-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .realm-block{min-height:190px;padding:27px 23px}
 .realm-block:not(:last-child){border-right:1px solid #c9b48738;border-bottom:0}
 .feature-card{min-height:220px}
 .campus-heading>p{margin-top:13px}
}
@media(max-width:560px){
 .world-intro{gap:11px}
 .world-prose{padding-left:0}
 .world-prose p{font-size:14px;line-height:1.85}
 .realm-strip{grid-template-columns:1fr}
 .realm-block{min-height:142px;padding:22px 25px}
 .realm-block:not(:last-child){border-right:0;border-bottom:1px solid #c9b48738}
 .realm-block h3{font-size:26px;margin-top:0}
 .realm-block p{font-size:13px;margin-top:6px}
 .realm-block .realm-symbol{font-size:20px}
 .world-actions{margin-top:18px}
 .campus-heading>p{font-size:14px}
 .feature-card{min-height:0;padding:22px 23px 24px}
 .feature-card h3{font-size:22px;margin:10px 0 5px}
 .feature-card p{font-size:13px}
}

/* Compact campus strip: removes generic filler cards. */
.campus-heading{margin-bottom:26px}
.campus-facilities{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:23px 0 4px;border-top:1px solid #bda77b5c;color:#d2c9b8;font-size:14px}
.campus-facilities .facilities-label{font-size:12px;color:#bfa57c;letter-spacing:.04em;margin-right:15px}
.campus-facilities b{font-weight:400;color:#856b62}
.chapter-campus{padding-bottom:75px}
@media(max-width:560px){.campus-facilities{gap:10px;font-size:12px}.campus-facilities .facilities-label{width:100%;margin-bottom:0}.chapter-campus{padding-bottom:60px}}


/* V6 — supplied academy illustration: restrained spatial blur + legibility grading */
.hero{
  background:#0b101b;
}
.hero-background{
  position:absolute;
  inset:-26px;
  z-index:-2;
  pointer-events:none;
  background-image:url('assets/academy-courtyard.webp');
  background-position:center 46%;
  background-size:cover;
  background-repeat:no-repeat;
  filter:blur(4px) saturate(.9) brightness(.8);
  transform:scale(1.025);
  animation:academyAmbient 22s ease-in-out infinite alternate;
}
.hero::before{
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(6,10,20,.91) 0%,rgba(7,13,24,.82) 29%,rgba(8,13,27,.52) 57%,rgba(7,10,20,.61) 100%),
    linear-gradient(180deg,rgba(6,10,20,.20) 0%,rgba(9,14,26,.06) 42%,rgba(6,10,19,.72) 100%);
}
.hero-architecture{opacity:.035}
.hero-aurora{opacity:.56}
.hero-scene{filter:drop-shadow(0 14px 33px rgba(3,6,16,.55))}
.hero-copy{filter:drop-shadow(0 5px 22px #01040bf1)}
/* The same place appears through a much deeper, softer focal plane behind the lore. */
.world-background{
 position:absolute;
 inset:-30px;
 z-index:0;
 pointer-events:none;
 background:url('assets/academy-courtyard.webp') center 52%/cover no-repeat;
 filter:blur(11px) saturate(.83) brightness(.52);
 opacity:.30;
 transform:scale(1.04);
 -webkit-mask-image:linear-gradient(180deg,transparent 0%,black 23%,black 66%,transparent 100%);
 mask-image:linear-gradient(180deg,transparent 0%,black 23%,black 66%,transparent 100%);
}
.chapter-world:before{opacity:.32}
.chapter-world .page-width{z-index:1;position:relative}
/* Campus hero background is the clearest use of the building image. */
.chapter-campus{background:#101824}
.campus-backdrop{
 inset:-24px;
 opacity:1;
 background:url('assets/academy-courtyard.webp') center 52%/cover no-repeat;
 filter:blur(3.5px) saturate(.8) brightness(.38);
 transform:scale(1.02);
 animation:none;
}
.chapter-campus:after{
 content:'';
 position:absolute;
 inset:0;
 z-index:0;
 pointer-events:none;
 background:
  linear-gradient(180deg,rgba(10,16,27,.72),rgba(10,16,27,.44) 48%,rgba(10,16,27,.76)),
  linear-gradient(90deg,rgba(7,14,27,.40),rgba(45,21,40,.25));
}
.campus-inner{z-index:1}
.campus-heading>p{color:#e3deda;text-shadow:0 2px 12px #02050be0}
.campus-facilities{position:relative;z-index:1}
@keyframes academyAmbient{
 from{transform:scale(1.025) translate3d(-0.5%,0,0)}
 to{transform:scale(1.055) translate3d(.5%,-.8%,0)}
}
@media(max-width:780px){
 .hero-background{background-position:50% 48%;filter:blur(4.5px) saturate(.82) brightness(.64)}
 .hero::before{background:linear-gradient(180deg,rgba(8,12,24,.55),rgba(8,12,24,.3) 36%,rgba(5,10,20,.78) 69%,rgba(6,10,19,.96))}
 .world-background{background-position:50% 45%;opacity:.23}
 .campus-backdrop{background-position:50% 45%;filter:blur(4px) saturate(.73) brightness(.35)}
}
@media(max-width:560px){
 .hero-background{background-position:50% 45%;filter:blur(4px) saturate(.86) brightness(.70)}
 .hero::before{background:linear-gradient(180deg,rgba(7,11,22,.40) 0%,rgba(8,13,24,.30) 35%,rgba(6,11,21,.86) 69%,rgba(6,10,19,.98) 100%)}
 .hero-aurora{opacity:.22}
 .chapter-campus:after{background:linear-gradient(180deg,rgba(8,13,25,.83),rgba(8,13,25,.48) 45%,rgba(8,13,25,.81))}
}
@media(prefers-reduced-motion:reduce){.hero-background{animation:none}}
/* Keep the new illustration readable as scenery, not a near-black silhouette. */
.campus-backdrop{filter:blur(3px) saturate(.85) brightness(.67)}
.chapter-campus:after{background:linear-gradient(90deg,rgba(5,11,23,.42),rgba(8,13,26,.21) 50%,rgba(8,13,26,.46)),linear-gradient(180deg,rgba(8,12,24,.68),rgba(8,12,24,.25) 49%,rgba(8,12,24,.70))}
@media(max-width:560px){
 .campus-backdrop{filter:blur(3.5px) saturate(.82) brightness(.58)}
 .chapter-campus:after{background:linear-gradient(180deg,rgba(7,12,24,.79),rgba(7,12,24,.30) 46%,rgba(7,12,24,.74))}
}


/* V7 — drifting embers, layered behind the cover lettering. */
.ember-field{display:block;pointer-events:none;user-select:none;-webkit-user-select:none;will-change:opacity;contain:strict}
.ember-field--gate{position:absolute;inset:0;width:100%;height:100%;z-index:4;opacity:.96;mix-blend-mode:screen;
  -webkit-mask-image:radial-gradient(ellipse 90% 90% at 53% 55%,#000 48%,#0009 82%,transparent 100%);
  mask-image:radial-gradient(ellipse 90% 90% at 53% 55%,#000 48%,#0009 82%,transparent 100%)}
.ember-field--ambient{position:fixed;inset:0;width:100vw;height:100vh;z-index:29;opacity:0;visibility:hidden;mix-blend-mode:screen;transition:opacity 1.2s ease;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000b 27%,#0004 47%,#000a 72%,#000 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000b 27%,#0004 47%,#000a 72%,#000 100%)}
body.site-entered .ember-field--ambient{opacity:.80;visibility:visible}
body.is-at-gate .ember-field--ambient{visibility:hidden}
@media(max-width:780px){body.site-entered .ember-field--ambient{opacity:.64}}
@media(prefers-reduced-motion:reduce){.ember-field{opacity:.35!important}}

/* V7 — custom enchanted pointer. The system arrow/pointer/text cursor is never shown
   on fine-pointer devices once the custom cursor is initialized. */
html.magic-cursor-enabled,html.magic-cursor-enabled *,html.magic-cursor-enabled *::before,html.magic-cursor-enabled *::after{
 cursor:none!important;
}
.magic-cursor{--cursor-scale:1;position:fixed;left:0;top:0;width:48px;height:48px;z-index:2147483646;
  pointer-events:none;opacity:0;visibility:hidden;transform:translate3d(-50%,-50%,0);
  transition:opacity .18s ease,visibility .18s;filter:drop-shadow(0 0 6px #d9a96780)}
.magic-cursor.is-visible{opacity:1;visibility:visible}
.magic-cursor .cursor-ring{position:absolute;inset:5px;border:1px solid #e9ca8e88;border-radius:50%;
 box-shadow:inset 0 0 7px #ebad5340,0 0 10px #f4b66c39;transform:scale(.8);opacity:.6;
 transition:transform .25s ease,opacity .25s ease,border-color .25s ease}
.magic-cursor .cursor-rune{width:100%;height:100%;overflow:visible;display:block;transform:rotate(-13deg) scale(.89);
 transition:transform .3s cubic-bezier(.16,.8,.2,1);filter:drop-shadow(0 0 3px #f9d4a2b0)}
.magic-cursor .cursor-heart{fill:#ffe4ac;filter:drop-shadow(0 0 5px #ffc37e)}
.magic-cursor.is-interactive .cursor-ring{transform:scale(1.34);opacity:1;border-color:#ffe3a8c9}
.magic-cursor.is-interactive .cursor-rune{transform:rotate(31deg) scale(1.11)}
.magic-cursor.is-pressed .cursor-ring{transform:scale(.58);opacity:1;border-color:#fff1c9}
.magic-cursor.is-pressed .cursor-rune{transform:rotate(75deg) scale(.8)}
.magic-cursor .cursor-flare{position:absolute;inset:-7px;border-radius:50%;border:1px solid transparent;
 border-top-color:#fbd6a56b;border-bottom-color:#9ebee761;opacity:0;transform:rotate(0) scale(.85);
 transition:opacity .18s,transform .3s}
.magic-cursor.is-interactive .cursor-flare{opacity:1;transform:rotate(85deg) scale(1.15)}
@media(hover:none),(pointer:coarse){.magic-cursor{display:none!important}}
@media(prefers-reduced-motion:reduce){.magic-cursor .cursor-rune,.magic-cursor .cursor-ring,.magic-cursor .cursor-flare{transition:none!important}}

/* V8 — expressive, overlap-safe character illustration transitions. */
.profile-gallery{--gallery-dir:1}
.profile-gallery>.gallery-transition-image{
  position:absolute;inset:0;z-index:2;width:100%;height:100%;
  object-fit:contain;pointer-events:none;opacity:0;
}
.profile-gallery.is-swapping>#gallery-image{
  animation:galleryArtOut .52s cubic-bezier(.32,0,.36,1) both;
}
.profile-gallery.is-swapping>.gallery-transition-image{
  animation:galleryArtIn .52s cubic-bezier(.18,.7,.25,1) both;
}
.profile-gallery:before{
  content:'';position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;
  background:linear-gradient(108deg,transparent 37%,#f9d9a11c 49%,#fbd7a630 50%,transparent 62%);
  transform:translateX(-55%);
}
.profile-gallery.is-swapping:before{animation:gallerySweep .52s ease-out both}
.profile-gallery .gallery-arrow,.profile-gallery .gallery-control{z-index:4}
@keyframes galleryArtOut{
  0%{opacity:1;filter:blur(0) brightness(1);transform:translate3d(0,0,0) scale(1)}
  100%{opacity:0;filter:blur(5px) brightness(.87);transform:translate3d(calc(var(--gallery-dir) * -30px),0,0) scale(1.025)}
}
@keyframes galleryArtIn{
  0%{opacity:0;filter:blur(8px) brightness(1.17);transform:translate3d(calc(var(--gallery-dir) * 40px),0,0) scale(1.05)}
  100%{opacity:1;filter:blur(0) brightness(1);transform:translate3d(0,0,0) scale(1)}
}
@keyframes gallerySweep{
  0%{opacity:0;transform:translateX(-65%)}
  30%{opacity:.7}
  100%{opacity:0;transform:translateX(65%)}
}
@media(prefers-reduced-motion:reduce){
 .profile-gallery.is-swapping>#gallery-image,
 .profile-gallery.is-swapping>.gallery-transition-image,
 .profile-gallery.is-swapping:before{animation:none!important}
}
/* Keep gallery arrows vertically centered during their hover shift. */
.gallery-prev:hover{transform:translate(-5px,-50%)}
.gallery-next:hover{transform:translate(5px,-50%)}

/* V9 — single-layer profile + reader, no browser-native dialog backdrop.
   Eliminates the odd scrollbar/auto-scroll cursor shown on leaving the panel. */
.modal-scrim{
  position:fixed;inset:0;z-index:100000;
  background:#030711e6;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  overscroll-behavior:contain;
}
html.site-modal-open,html.site-modal-open body{overflow:hidden!important}
/* dialog.show() keeps the pane below our custom cursor, unlike showModal(). */
html.site-modal-open dialog[open]{
  position:fixed!important;inset:0!important;margin:auto!important;
  z-index:100001!important;
  max-height:calc(100dvh - 24px);
  overscroll-behavior:contain;
}
html.site-modal-open .profile-dialog[open]{overflow:hidden}
html.site-modal-open .reader-dialog[open]{overflow-y:auto;overscroll-behavior:contain}
html.site-modal-open .profile-layout{height:min(640px,calc(100dvh - 30px));min-height:0;max-height:none}
html.site-modal-open .profile-copy{overscroll-behavior:contain}
html.site-modal-open .profile-dialog,html.site-modal-open .reader-dialog{outline:none}
html.site-modal-open .profile-copy::-webkit-scrollbar,
html.site-modal-open .reader-dialog::-webkit-scrollbar,
html.site-modal-open .profile-layout::-webkit-scrollbar{width:6px}
html.site-modal-open .profile-copy::-webkit-scrollbar-thumb,
html.site-modal-open .reader-dialog::-webkit-scrollbar-thumb,
html.site-modal-open .profile-layout::-webkit-scrollbar-thumb{background:#bda57e70;border-radius:10px}
html.site-modal-open .profile-copy,html.site-modal-open .reader-dialog,html.site-modal-open .profile-layout{scrollbar-width:thin;scrollbar-color:#bda57e70 transparent}
/* The custom graphic is the only pointer, including while an overlay is open. */
html.magic-cursor-enabled .magic-cursor{position:fixed;z-index:2147483646;pointer-events:none}
@media(max-width:780px){
  html.site-modal-open .profile-layout{height:auto;min-height:0;max-height:calc(100dvh - 30px);overflow-y:auto}
  html.site-modal-open .profile-gallery{flex:none}
  html.site-modal-open .profile-copy{overflow:visible}
}
