:root{font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:#182647;background:#f3f7ff}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible{outline:3px solid #ffcf39;outline-offset:4px}.header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(22px,calc((100vw - 1180px)/2));background:white;box-shadow:0 2px 18px #12234a15;position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-weight:900;font-size:23px;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#6980ad}.flask{font-size:33px;color:#168de7}nav{display:flex;gap:5px}nav a{font-size:12px;font-weight:800;padding:14px 12px;border-radius:9px}nav a:hover,nav a.current{color:#0876d6;background:#e8f3ff}.menu{display:none;border:0;background:#edf4ff;border-radius:8px;padding:8px 12px;font-size:23px}.page{display:none;max-width:1180px;margin:auto;padding:36px 22px 65px;min-height:65vh}.page.active{display:block}.hero{background:linear-gradient(115deg,#101b40 0%,#243d7c 60%,#6b61b3);border-radius:24px;min-height:440px;display:flex;align-items:center;overflow:hidden;position:relative;box-shadow:0 18px 38px #1a2e6540}.hero-copy{position:relative;z-index:2;padding:45px;max-width:620px;color:white}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#28bce9}.hero h1{font-size:clamp(30px,4.4vw,52px);line-height:1.45;margin:18px 0}.hero h1 em{font-style:normal;color:#ffe277}.hero p{line-height:2;font-weight:600}.hero-img{position:absolute;right:-65px;bottom:0;width:56%;height:100%;object-fit:cover;object-position:center;mask-image:linear-gradient(to right,transparent 0%,black 25%)}.primary,.outline{display:inline-block;border-radius:999px;padding:13px 22px;font-weight:800;margin-top:18px}.primary{background:#0c9ae8;color:white;box-shadow:0 5px 15px #0064b64d}.outline{border:2px solid #138ae5;color:#138ae5}.tiles,.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:24px 0}.tiles a{background:white;padding:25px;border-radius:16px;border:1px solid #d9e5fb;box-shadow:0 5px 16px #182d5d12;display:flex;align-items:center;gap:9px}.tiles a b{font-size:16px}.tiles a small{color:#697d9c}.tiles a span{margin-left:auto;color:#168ce3}.panel{background:white;border-radius:18px;padding:30px;border:1px solid #e1e9f8;box-shadow:0 5px 20px #192e6010;margin:22px 0}.panel h2{font-size:22px}.panel p{line-height:1.9}.muted{color:#64738c;font-size:14px}.section-head{padding:28px 0 8px}.section-head h1{font-size:clamp(30px,5vw,47px);margin:8px 0}.section-head p{color:#576987}.cards{grid-template-columns:repeat(2,1fr)}.cards .panel{margin:0}.card-icon{font-size:42px}.feature{display:flex;align-items:center;gap:25px}.status{display:inline-block;border-radius:99px;background:#edf3ff;color:#3166ab;font-size:13px;font-weight:800;padding:9px 14px}footer{background:#101a39;color:white;text-align:center;padding:34px 20px;display:flex;align-items:center;flex-direction:column;gap:9px}footer span,footer small{color:#bdc8e5}@media(max-width:800px){.header{flex-wrap:wrap}.menu{display:block}nav{display:none;flex-direction:column;width:100%}nav.open{display:flex}nav a{padding:13px}.hero{min-height:540px;align-items:flex-start}.hero-copy{padding:30px 24px}.hero-img{width:100%;height:52%;right:0;bottom:0;mask-image:linear-gradient(to bottom,transparent 0%,black 30%)}.hero p{font-size:14px}.tiles{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.feature{align-items:flex-start}.tiles a{padding:18px}}@media(max-width:420px){.brand{font-size:19px}.hero h1{font-size:29px}.hero{min-height:550px}.page{padding:20px 14px 50px}.panel{padding:22px}.feature{flex-direction:column}}
/* v1.1: wider desktop canvas with restrained decorative side atmosphere */
:root{background:#edf5ff}
body{min-height:100vh;background:radial-gradient(ellipse 38% 30% at 0% 25%,#d3eaff 0%,transparent 100%),radial-gradient(ellipse 38% 35% at 100% 55%,#dfd9ff 0%,transparent 100%),linear-gradient(180deg,#f5f9ff,#eaf3ff 72%,#f5f8ff);position:relative;isolation:isolate}
body::before{content:"";position:fixed;inset:85px 0 0;z-index:-1;pointer-events:none;opacity:.36;background-image:radial-gradient(circle,#6da8ec 1.5px,transparent 2px),linear-gradient(90deg,transparent 48%,#a7d6ff 49%,#a7d6ff 51%,transparent 52%);background-size:100px 100px,180px 180px;mask-image:linear-gradient(90deg,#000 0%,transparent 21%,transparent 79%,#000 100%)}
.header{padding-left:max(24px,calc((100vw - 1460px)/2));padding-right:max(24px,calc((100vw - 1460px)/2))}
.page{max-width:1460px;padding:36px 26px 72px}
.hero{min-height:485px}
.hero-copy{padding:54px 62px;max-width:700px}
.hero-img{right:-30px;width:56%}
.tiles{gap:22px}
.tiles a{min-height:94px;background:linear-gradient(130deg,#fff,#f4f9ff);transition:transform .2s,box-shadow .2s}
.tiles a:hover{transform:translateY(-3px);box-shadow:0 10px 25px #182d5d20}
#home>.panel{max-width:1100px;margin:26px auto}
@media(min-width:1650px){.page{max-width:1520px}.header{padding-left:max(24px,calc((100vw - 1520px)/2));padding-right:max(24px,calc((100vw - 1520px)/2))}}
@media(max-width:800px){body{background:linear-gradient(180deg,#f5f9ff,#eaf3ff)}body::before{display:none}.header{padding:12px 18px}.page{padding:24px 16px 55px}.hero{min-height:555px}.hero-copy{padding:30px 25px;max-width:100%}.hero-img{right:0;width:100%;height:55%;object-position:center 30%}.tiles{gap:12px}.tiles a{min-height:68px}#home>.panel{max-width:none}}
@media(max-width:420px){.page{padding:18px 12px 46px}.hero{min-height:535px;border-radius:18px}.hero-copy{padding:25px 20px}.hero h1{font-size:clamp(26px,8vw,34px)}.hero-img{height:51%;object-position:55% center}.tiles a{min-height:64px}}
@media(prefers-reduced-motion:reduce){.tiles a{transition:none}}

/* v1.2: subtle creative-lab decorations in desktop side margins */
.ambient-side{position:fixed;top:22%;width:clamp(90px,calc((100vw - 1520px)/2 - 12px),250px);height:480px;z-index:0;pointer-events:none;opacity:.38;color:#78b7eb;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 0 18px #a8d8ff)}
.ambient-left{left:0}.ambient-right{right:0;color:#a4a0e8}
.ambient-symbol{font-size:clamp(65px,8vw,135px);font-weight:200;opacity:.46;transform:rotate(-12deg);animation:ambientFloat 12s ease-in-out infinite}
.ambient-right .ambient-symbol{transform:rotate(10deg);animation-delay:-5s}
.ambient-orbit{position:absolute;width:75%;aspect-ratio:1;border:1px solid currentColor;border-radius:50%;opacity:.42;box-shadow:0 0 0 22px #ffffff12,0 0 0 55px #8bbfff08}
.ambient-orbit:before,.ambient-orbit:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:currentColor;top:13%;left:12%;box-shadow:0 0 15px currentColor}
.ambient-orbit:after{top:auto;left:auto;bottom:17%;right:8%;width:5px;height:5px}
.ambient-small{position:absolute;top:7%;right:12%;font-size:35px;opacity:.65;animation:ambientFloat 9s ease-in-out infinite reverse}
.ambient-right .ambient-small{top:auto;bottom:10%;right:auto;left:10%}
main,.header,footer{position:relative;z-index:1}
@keyframes ambientFloat{0%,100%{translate:0 0}50%{translate:0 -13px}}
@media(max-width:1810px){.ambient-side{opacity:.22;width:clamp(40px,8vw,150px)}.ambient-symbol{font-size:clamp(42px,6vw,90px)}}
@media(max-width:1550px){.ambient-side{display:none}}
@media(max-width:800px){.ambient-side{display:none}}
@media(prefers-reduced-motion:reduce){.ambient-symbol,.ambient-small{animation:none}}

/* v1.3: chibi Rei creative-lab scenes in desktop side gutters */
#home{position:relative;isolation:isolate}
#home>.hero,#home>.tiles,#home>.panel{position:relative;z-index:1}
.chibi-scenes{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:visible}
.chibi-scene{position:absolute;width:clamp(260px,25vw,420px);height:auto;bottom:0;opacity:.97;filter:drop-shadow(0 8px 15px #6ba8d522)}
.chibi-left{right:calc(100% - 65px)}
.chibi-right{left:calc(100% - 65px)}
@media(max-width:1780px){.chibi-scene{width:clamp(200px,20vw,330px);opacity:.85}.chibi-left{right:calc(100% - 40px)}.chibi-right{left:calc(100% - 40px)}}
@media(max-width:1580px){.chibi-scenes{display:none}}
@media(max-width:800px){.chibi-scenes{display:none}}

/* v1.4: decorative chibi scenes for MOVIE & MUSIC; main cards remain untouched */
#media{position:relative;isolation:isolate}
#media>.section-head,#media>.cards{position:relative;z-index:1}
.media-chibis{z-index:0}
.media-chibi{position:absolute;bottom:12px;width:clamp(215px,21vw,350px);pointer-events:none;filter:drop-shadow(0 8px 15px #6ba8d522)}
.media-chibi img{display:block;width:100%;height:auto}
.media-chibi-left{right:calc(100% - 38px)}
.media-chibi-right{left:calc(100% - 38px)}
.media-float-note,.media-float-camera,.media-label{position:absolute;z-index:2;font-weight:900;color:#5597e4;text-shadow:0 2px 10px #fff}
.media-float-note{font-size:42px;top:3%;left:45%;animation:ambientFloat 8s ease-in-out infinite}
.media-float-camera{font-size:18px;top:7%;left:25%;background:#f5faffd9;border:1px solid #b6d9ff;border-radius:30px;padding:7px 12px;color:#6c81c9}
.media-label{font-size:13px;bottom:7%;left:26%;letter-spacing:2px;background:#fff9;border-radius:20px;padding:5px 12px}
@media(max-width:1780px){.media-chibi{width:clamp(180px,19vw,290px)}.media-chibi-left{right:calc(100% - 28px)}.media-chibi-right{left:calc(100% - 28px)}}
@media(max-width:1580px){.media-chibis{display:none}}
@media(prefers-reduced-motion:reduce){.media-float-note{animation:none}}

/* v1.5: staggered diagonal scenes, video low-left and music high-right */
#media .media-chibi-left{bottom:0;right:calc(100% - 38px);width:clamp(215px,21vw,350px)}
#media .media-chibi-right{bottom:175px;left:calc(100% - 38px);width:clamp(215px,21vw,350px)}
#media .media-chibi img{-webkit-mask-image:radial-gradient(ellipse 68% 68% at 50% 57%,#000 57%,transparent 100%);mask-image:radial-gradient(ellipse 68% 68% at 50% 57%,#000 57%,transparent 100%)}
#media .media-chibi-left .media-float-camera{left:16%;top:13%;font-size:14px}
#media .media-chibi-right .media-float-note{left:65%;top:5%}
#media .media-chibi-left .media-label{left:25%;bottom:8%}
#media .media-chibi-right .media-label{left:34%;bottom:8%}
@media(max-width:1780px){#media .media-chibi-left{width:clamp(180px,19vw,290px);right:calc(100% - 28px)}#media .media-chibi-right{width:clamp(180px,19vw,290px);left:calc(100% - 28px);bottom:145px}}
@media(max-width:1580px){#media .media-chibis{display:none}}

/* v1.6: music Rei genuinely at upper-right; video Rei stays bottom-left */
#media .media-chibi-right{top:0;bottom:auto;left:calc(100% - 38px)}
@media(max-width:1780px){#media .media-chibi-right{top:0;bottom:auto;left:calc(100% - 28px)}}

/* v1.7: true upper-right music / lower-left movie layout, soft-edged chibis */
#media{min-height:760px;}
#media .media-chibi-left{top:auto;bottom:0;right:calc(100% - 32px);left:auto;}
#media .media-chibi-right{top:14px;bottom:auto;left:calc(100% - 32px);right:auto;}
#home .chibi-scene{mask-image:radial-gradient(ellipse 70% 68% at 50% 63%,black 54%,transparent 99%);-webkit-mask-image:radial-gradient(ellipse 70% 68% at 50% 63%,black 54%,transparent 99%)}
#media .media-chibi img{mask-image:radial-gradient(ellipse 68% 68% at 50% 63%,black 54%,transparent 99%);-webkit-mask-image:radial-gradient(ellipse 68% 68% at 50% 63%,black 54%,transparent 99%)}
@media(max-width:1780px){#media .media-chibi-right{top:14px;bottom:auto;left:calc(100% - 24px)}#media .media-chibi-left{bottom:0;right:calc(100% - 24px)}}
@media(max-width:1580px){#media{min-height:65vh}}

/* v1.8: central GAME chibi scene below the feature card */
#game{position:relative;min-height:790px;}
#game>.section-head,#game>.feature{position:relative;z-index:1;}
#game .game-chibi-stage{width:min(850px,82%);margin:18px auto -46px;pointer-events:none;}
#game .game-chibi-stage img{display:block;width:100%;height:auto;-webkit-mask-image:radial-gradient(ellipse 68% 66% at 50% 55%,#000 58%,transparent 100%);mask-image:radial-gradient(ellipse 68% 66% at 50% 55%,#000 58%,transparent 100%);}
@media(max-width:800px){#game{min-height:0}#game .game-chibi-stage{width:100%;margin:16px auto 0}}

/* v1.9 LAB illustration, preserving the existing cards and navigation */
#lab .lab-chibi-stage{position:relative;width:min(1250px,120%);max-width:none;margin:0 0 -32px 50%;transform:translateX(-50%);pointer-events:none;}
#lab .lab-chibi-stage img{display:block;width:100%;height:auto;}
#lab{overflow:visible;}
@media(max-width:800px){#lab .lab-chibi-stage{width:115%;margin-top:20px;margin-bottom:0;} }

/* v2.0 ABOUT page */
#about .about-intro{display:grid;grid-template-columns:1.1fr .9fr;min-height:355px;border-radius:24px;overflow:hidden;background:linear-gradient(115deg,#14244d,#314a8b);color:white;box-shadow:0 16px 35px #152c6030;margin:16px 0 28px}
#about .about-copy{padding:42px 48px;align-self:center;position:relative;z-index:1}
#about .about-kicker{font-size:11px;font-weight:800;letter-spacing:2px;color:#6ed9ff}
#about .about-copy h2{font-size:clamp(26px,3vw,40px);line-height:1.5;margin:16px 0}
#about .about-copy h2 em{font-style:normal;color:#ffe17d}
#about .about-copy p{font-size:15px;line-height:1.95}
#about .about-intro>img{width:100%;height:100%;min-height:355px;object-fit:cover;object-position:55% center;mask-image:linear-gradient(to right,transparent,#000 20%)}
#about .about-story{max-width:1080px;margin:30px auto;padding:36px 44px}
#about .about-story h2{font-size:clamp(22px,2.6vw,30px);margin:12px 0 20px}
#about .about-story p{line-height:2.1}
#about .about-activities{max-width:1080px;margin:38px auto}
#about .about-activities>h2{font-size:23px}
#about .about-activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
#about .about-activity{display:flex;flex-direction:column;gap:9px;padding:25px;border-radius:17px;background:#fff;border:1px solid #dfe9fa;box-shadow:0 5px 20px #192e6010;transition:transform .2s}
#about .about-activity:hover{transform:translateY(-4px)}
#about .about-activity span{font-size:32px}#about .about-activity strong{font-size:17px}#about .about-activity small{font-size:13px;line-height:1.7;color:#657696}
#about .about-links{max-width:1080px;margin:30px auto;padding:35px 44px}
#about .about-link-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
#about .about-link-actions a{margin-top:8px}
#about .about-signoff{text-align:center;padding:28px 0 10px;color:#304777;font-weight:700;line-height:2}
#about .about-signoff span{font-size:28px;color:#26a7ea}
@media(max-width:800px){#about .about-intro{grid-template-columns:1fr}#about .about-copy{padding:28px 26px}#about .about-intro>img{min-height:220px;height:230px;object-position:center 38%;mask-image:linear-gradient(to bottom,transparent,#000 30%)}#about .about-activity-grid{grid-template-columns:1fr}#about .about-story,#about .about-links{padding:25px}#about .about-activity{padding:20px}}
@media(prefers-reduced-motion:reduce){#about .about-activity{transition:none}}

/* v2.1: travel navigation and temporary destination */
nav a.travel-nav{color:#1478c7;background:#eef7ff;border:1px solid #d5eaff}nav a.travel-nav:hover,nav a.travel-nav.current{background:#dceeff;color:#075b9f}.travel-nav span{font-size:11px}.travel-intro{display:flex;align-items:center;gap:24px;max-width:900px}.travel-emoji{font-size:64px;flex-shrink:0}@media(max-width:600px){.travel-intro{flex-direction:column;align-items:flex-start}.travel-emoji{font-size:44px}}
